From 72706eb9323065cdb4152d73926fd680a4c5a9ab Mon Sep 17 00:00:00 2001 From: Johannes Stolp Date: Fri, 1 Jul 2016 17:41:55 +0200 Subject: Removed current plugin handling, added script to install vundle(a vim plugin manager). Adapted vim config files to use vundle. To install new vim plugins, they must be added to .vim/vimrc_files/vundle.vim --- .vim/vimrc_files/keymaps.vim | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to '.vim/vimrc_files/keymaps.vim') diff --git a/.vim/vimrc_files/keymaps.vim b/.vim/vimrc_files/keymaps.vim index 4edd32a..c5dfaed 100644 --- a/.vim/vimrc_files/keymaps.vim +++ b/.vim/vimrc_files/keymaps.vim @@ -1,9 +1,20 @@ " dotfiles -- .vim/vimrc_files/keymaps.vim " author: johannst +" set leader key +let mapleader="," + "remap esc button imap jj +" prevent quit accidentlty +map :q :close +map :wq :w +noremap :qq :q +noremap d :bd + +" re-adjust indentation +map mzgg=G`z "let ArrowDisableMessage = "Arrow Keys disabled! Better learn hjkl ;)" @@ -49,11 +60,11 @@ map l map h -" navigate between different Tabs -nnoremap :tabprev -nnoremap :tabnext -nnoremap :tabprev -nnoremap :tabnext +" navigate between different buffers +nnoremap :bprevious +nnoremap :bnext +nnoremap :bprevious +nnoremap :bnext " ctrl-ae jump to line start/end -- cgit v1.2.3