aboutsummaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-01-26 20:16:38 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-01-26 20:16:38 +0100
commitaf53908079962c3208d2dbf6a2c98b5862f4c0b5 (patch)
tree93d7f8869afea004566bd90f354fb98acce62ce4 /.vim
parentb2a14f03dded5ae56eaa24ffe3dc271d8365dc68 (diff)
downloaddotfiles-af53908079962c3208d2dbf6a2c98b5862f4c0b5.tar.gz
custom bashit theme, vim changes
Diffstat (limited to '.vim')
-rw-r--r--.vim/vimrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index b21d04a..9d93917 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -17,6 +17,9 @@ let g:airline#extensions#branch#enabled = 1
let g:airline#extensions#whitespace#enabled = 1
let g:airline_powerline_fonts = 1
+"show line endings and tabs
+set list
+
" Use todo#Complete as the omni complete function for todo files
au filetype todo setlocal omnifunc=todo#Complete
@@ -51,7 +54,7 @@ set foldmethod=syntax
"nmap <silent> <C-w-h> :wincmd h<CR>
"nmap <silent> <C-w-l> :wincmd l<CR>
-nmap <silent> <C-s> :vsplit<CR>
+nmap <silent> <C-s> :vsplit<CR>:e .<CR>
nmap <silent> <C-e> :e .<CR>
nnoremap <silent> <Space> @=(foldlevel('.')?'za':"\<Space>")<CR>
@@ -69,7 +72,7 @@ nmap <silent> <F7> :Newterm<CR>
nmap <silent> <F1> :tabclose<CR>
nmap <silent> <F2> :tabprevious<CR>
nmap <silent> <F3> :tabnext<CR>
-nmap <silent> <F4> :tabnew<CR>
+nmap <silent> <F4> :tabnew<CR>:e .<CR>
" ===========