Last active
January 9, 2022 14:05
-
-
Save irfansofyana/1b299d310086f028d98020f78adc60b4 to your computer and use it in GitHub Desktop.
neovim config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:set number | |
:set autoindent | |
:set tabstop=4 | |
:set shiftwidth=4 | |
:set smarttab | |
:set softtabstop=4 | |
:set mouse=a | |
call plug#begin() | |
Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) | |
Plug 'https://github.com/preservim/nerdtree' " NerdTree | |
Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc | |
Plug 'https://github.com/vim-airline/vim-airline' " Status bar | |
Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview | |
Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme | |
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons | |
Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal | |
Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors | |
Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation | |
Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion | |
Plug 'https://github.com/jiangmiao/auto-pairs' " Auto pairs | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'kyazdani42/nvim-web-devicons' | |
Plug 'https://github.com/ranger/ranger' " ranger | |
set encoding=UTF-8 | |
call plug#end() | |
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> | |
:set completeopt-=preview " For No Previews | |
:colorscheme jellybeans | |
let g:NERDTreeDirArrowExpandable="+" | |
let g:NERDTreeDirArrowCollapsible="~" | |
let g:NERDTreeShowHidden=1 | |
inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment