summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-03-14 14:43:41 +0000
committerUrbain Vaes <urbain@vaes.uk>2017-03-14 14:43:41 +0000
commit7105bd2dabc41226179a5b8a35385943a76ec46b (patch)
tree1dd0b97da9b5a8995fb39f629a84d30a2548246f /vim/.vimrc
parent0e69d114db68d9454027af95b3a40b8de393df09 (diff)
Make minor modifications
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 8457c47..9b73fea 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -52,7 +52,7 @@ Plug 'vim-airline/vim-airline-themes'
Plug 'vim-scripts/ReplaceWithRegister'
Plug 'vim-scripts/SpellCheck'
Plug 'vim-scripts/gmsh.vim'
-Plug 'w0rp/ale'
+" Plug 'w0rp/ale'
if has("nvim")
Plug 'Shougo/deoplete.nvim'
@@ -291,7 +291,9 @@ nnoremap <LocalLeader>h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp,<CR>
nnoremap Y y$
nnoremap + za
nnoremap <BS> <C-W>h
+
nnoremap <Leader>fw :%s/\s\+$//<cr>
+nnoremap <Leader>ft :%s/^ \+//g<cr>
cnoremap <c-p> <up>
cnoremap <c-n> <down>