From 6646e6a41c8a6a99d5aa6d6d4f6b35aa2ed4c86a Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 25 Jun 2018 17:06:48 +0100 Subject: Clean vimrc --- arch/archlinuxfr-packages/PKGBUILD | 2 +- vifm/.config/vifm/vifmrc | 1 + 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 diff --git a/vim/.vimrc b/vim/.vimrc index 7cc45b1..4d98614 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -210,7 +210,6 @@ let g:NERDTreeHijackNetrw = 0 " Remembrall nnoremap ,, :call remembrall#remind('n', '') nnoremap y :call remembrall#remind('n', 'y') -let g:remembrall_window='botright 10new' augroup remembrall autocmd FileType tex nnoremap ,l Remembrall('n', ',l') @@ -311,6 +310,11 @@ if has("nvim") endif " }}} "" Mappings {{{ + +" .rst headings +nnoremap 1 m`yypVr=`` +nnoremap 2 m`yypVr-`` + nnoremap n nzz nnoremap N Nzz @@ -524,18 +528,5 @@ if has("nvim") nnoremap :b # \| norm A tnoremap nnoremap t :b term \| norm A - - tnoremap h - tnoremap j - tnoremap k - tnoremap l - inoremap h - inoremap j - inoremap k - inoremap l - nnoremap h - nnoremap j - nnoremap k - nnoremap l endif " }}} -- cgit v1.2.3