diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-06-25 17:06:48 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-06-25 17:06:48 +0100 |
commit | 6646e6a41c8a6a99d5aa6d6d4f6b35aa2ed4c86a (patch) | |
tree | 2988cd720a438abb2dd9ccc09a5b0d4a6a571b97 | |
parent | 177eed7f9504d5e1c84caf6d94d1d94b70415555 (diff) |
Clean vimrc
-rw-r--r-- | arch/archlinuxfr-packages/PKGBUILD | 2 | ||||
-rw-r--r-- | vifm/.config/vifm/vifmrc | 1 | ||||
-rw-r--r-- | vim/.vimrc | 19 |
3 files changed, 7 insertions, 15 deletions
diff --git a/arch/archlinuxfr-packages/PKGBUILD b/arch/archlinuxfr-packages/PKGBUILD index da4c54f..2905a36 100644 --- a/arch/archlinuxfr-packages/PKGBUILD +++ b/arch/archlinuxfr-packages/PKGBUILD @@ -2,4 +2,4 @@ pkgname=archlinuxfr-packages pkgver=0 pkgrel=1 arch=(any) -depends=(dropbox yaourt) +depends=(dropbox) diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc index 22486ca..21163bd 100644 --- a/vifm/.config/vifm/vifmrc +++ b/vifm/.config/vifm/vifmrc @@ -1,5 +1,6 @@ " Command to open files filetype * xdg-open +filetype *.exe wine " Options set fastrun @@ -210,7 +210,6 @@ let g:NERDTreeHijackNetrw = 0 " Remembrall nnoremap <silent> ,, :call remembrall#remind('n', '')<cr> nnoremap <silent> y :<c-u>call remembrall#remind('n', 'y')<cr> -let g:remembrall_window='botright 10new' augroup remembrall autocmd FileType tex nnoremap <buffer> <nowait> <expr> ,l Remembrall('n', ',l') @@ -311,6 +310,11 @@ if has("nvim") endif " }}} "" Mappings {{{ + +" .rst headings +nnoremap <leader>1 m`yypVr=`` +nnoremap <leader>2 m`yypVr-`` + nnoremap n nzz nnoremap N Nzz @@ -524,18 +528,5 @@ if has("nvim") nnoremap <c-_> :b # \| norm A<cr> tnoremap <c-_> <c-\><c-n><c-^> nnoremap <Leader>t :b term \| norm A<cr> - - tnoremap <A-h> <C-\><C-N><C-w>h - tnoremap <A-j> <C-\><C-N><C-w>j - tnoremap <A-k> <C-\><C-N><C-w>k - tnoremap <A-l> <C-\><C-N><C-w>l - inoremap <A-h> <C-\><C-N><C-w>h - inoremap <A-j> <C-\><C-N><C-w>j - inoremap <A-k> <C-\><C-N><C-w>k - inoremap <A-l> <C-\><C-N><C-w>l - nnoremap <A-h> <C-w>h - nnoremap <A-j> <C-w>j - nnoremap <A-k> <C-w>k - nnoremap <A-l> <C-w>l endif " }}} |