]> git.armaanb.net Git - dotfiles.git/blob - .config/nvim/init.vim
Initial commit
[dotfiles.git] / .config / nvim / init.vim
1 set mouse=a
2 set undofile
3 set textwidth=80
4 map Q <nop>
5
6 call plug#begin()
7 Plug 'ap/vim-css-color'              " Highlight css colors
8 Plug 'ctrlpvim/ctrlp.vim'            " Fuzzy file finding
9 Plug 'editorconfig/editorconfig-vim' " Follow editorconfig
10 Plug 'meain/hima-vim'                " Nice color scheme
11 Plug 'sheerun/vim-polyglot'          " Language pack 
12 Plug 'tpope/vim-commentary'          " Easily comment
13 Plug 'tpope/vim-rsi'                 " Readline bindings
14 Plug 'tpope/vim-sensible'            " Sensible defaults
15 Plug 'tpope/vim-speeddating'         " Modify dates with C-a, C-x
16 Plug 'tpope/vim-surround'            " Easily modify sorrounding characters
17 call plug#end()
18
19 set termguicolors
20 colorscheme hima
21
22 nnoremap <C-j> <C-w><C-j>
23 nnoremap <C-k> <C-w><C-k>
24 nnoremap <C-l> <C-w><C-l>
25 nnoremap <C-h> <C-w><C-h>
26
27 nnoremap <C-c> :noh<CR>