]> git.armaanb.net Git - dotfiles.git/blob - .config/nvim/init.vim
nvim: disable polyglot sensible options
[dotfiles.git] / .config / nvim / init.vim
1 " General settings
2 set mouse=a
3 set undofile
4 set textwidth=80
5 map Q <nop>
6
7 " Polyglot
8 let g:polyglot_disabled = ['sensible']
9
10 " Plugins
11 call plug#begin()
12 Plug 'ackyshake/vimcompletesme'      " Simple autocompletion
13 Plug 'ap/vim-css-color'              " Highlight css colors
14 Plug 'ctrlpvim/ctrlp.vim'            " Fuzzy file finding
15 Plug 'editorconfig/editorconfig-vim' " Follow editorconfig
16 Plug 'godlygeek/tabular'             " Line things up
17 Plug 'meain/hima-vim'                " Nice color scheme
18 Plug 'sheerun/vim-polyglot'          " Language pack
19 Plug 'tpope/vim-commentary'          " Easily comment
20 Plug 'tpope/vim-rsi'                 " Readline bindings
21 Plug 'tpope/vim-sensible'            " Sensible defaults
22 Plug 'tpope/vim-speeddating'         " Modify dates with C-a, C-x
23 Plug 'tpope/vim-surround'            " Easily modify sorrounding characters
24 call plug#end()
25
26 " Colorscheme
27 set termguicolors
28 colorscheme hima
29
30 " Easier split movement
31 nnoremap <C-j> <C-w><C-j>
32 nnoremap <C-k> <C-w><C-k>
33 nnoremap <C-l> <C-w><C-l>
34 nnoremap <C-h> <C-w><C-h>
35
36 " Clear search highlighting
37 nnoremap <silent> <C-c> :noh<CR>