aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-11-25 06:00:54 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-11-25 06:00:54 +0100
commit88c5152418214f30f6a45083702f95a665d533f7 (patch)
treeeede9044365f36619dd1eaad954e912e57172b1c /nvim
parent274341531f7dd86464b77524f002abbf5d8326d4 (diff)
downloaddotfiles-88c5152418214f30f6a45083702f95a665d533f7.tar.xz
nvim: init: Fixup comments
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim20
1 files changed, 15 insertions, 5 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 09a22f5..b86e2a6 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -43,7 +43,6 @@ set linebreak " Don’t wrap lines in the middle of a word
set spelllang=en_us
set backupdir=$XDG_DATA_HOME/nvim/backup " Don't write backups in current dir
-" Tabs are 4 spaces wide
set tabstop=4
set shiftwidth=4
set softtabstop=4
@@ -80,6 +79,9 @@ nmap <C-k> gk
+"""
+" CtrlP
+"
let g:ctrlp_extensions = ['tag', 'buffertag', 'dir', 'undo', 'line',
\ 'changes', 'mixed', 'bookmarkdir']
@@ -88,8 +90,9 @@ nmap <silent> <Leader>p :CtrlPMixed<CR>
-""""""""""""""""""""
-"" Statusline
+"""
+" Statusline
+"
set statusline=
set statusline+=[%n] " Buffer number
@@ -128,8 +131,9 @@ set laststatus=2 " Always show statusline
-""""""""""""""""""""
+"""
" Syntax highlighting
+"
" Colorscheme
colorscheme Darkcustomside
@@ -144,14 +148,20 @@ autocmd BufWinLeave * call clearmatches()
+"""
+" Indentation
+"
+
augroup indentation
autocmd!
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 noet
augroup END
-""""""""""""""""""""
+
+"""
" Neomake
+"
" Open the location list when adding entries
let g:neomake_open_list = 2