Skip to content

Instantly share code, notes, and snippets.

@sachinumrao
Created November 13, 2022 12:30
Show Gist options
  • Select an option

  • Save sachinumrao/e9ae6810ab7c68bc3b004abb5a5a7c38 to your computer and use it in GitHub Desktop.

Select an option

Save sachinumrao/e9ae6810ab7c68bc3b004abb5a5a7c38 to your computer and use it in GitHub Desktop.
init.nvim
set encoding=utf-8
set number
syntax enable
set scrolloff=5
set backspace=indent,eol,start
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set autoindent
set fileformat=unix
set smarttab
set mouse=a
call plug#begin()
Plug 'morhetz/gruvbox'
Plug 'sonph/onehalf'
Plug 'dracula/dracula-theme'
Plug 'rakr/vim-one'
Plug 'mhartington/oceanic-next'
Plug 'ayu-theme/ayu-vim'
Plug 'jiangmiao/auto-pairs'
Plug 'https://github.com/preservim/nerdtree'
Plug 'vim-airline/vim-airline'
Plug 'kien/ctrlp.vim'
Plug 'dense-analysis/ale'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/tagbar'
call plug#end()
colorscheme OceanicNext
nnoremap <C-f> :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-l> :call CocActionAsync('jumpDefinition')<CR>
nmap <F8> :TagbarToggle<CR>
let g:NERDTreeDirArrowExpandable="+"
let g:NERDTreeDirArrowCollapsible="~"
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>"
let g:python3_host_prog='/home/sachin/miniconda3/envs/ml/bin/python'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment