From 51586781845c855d92b26d05db056e17e43bc936 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 26 Sep 2017 11:49:12 +0200 Subject: [PATCH] vimrc revert --- vim/rc | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) diff --git a/vim/rc b/vim/rc index ee78769..521b4b7 100644 --- a/vim/rc +++ b/vim/rc @@ -27,62 +27,13 @@ set lazyredraw "Shift-i will start inserting at the begin of the line, i will start before curser "Shift-t end of line or t just behind curser (tail) "f does exactly the same but closer to shift, easier to use maybe -nnoremap t a -nnoremap T A -nnoremap f a -nnoremap f A - -"search -set incsearch -set hlsearch -nnoremap Ctrl-l :nohlsearch - -"movement "move by visual line nnoremap w g nnoremap s g nnoremap a nnoremap d -"move by \n or \r\n -nnoremap W -nnoremap S -nnoremap A -nnoremap D -"move to line at bottom/top of current screen -nnoremap g H -nnoremap G L "gg will go to start of file, GG to end of file and M will actually jump to mid of screen - -"move by word (dervied from Egoshooters where you can lean right or left usually with q and e) -nnoremap q b -"words to left (3q would be 3 words left) -nnoremap Q B -"words left, with all non-alphanumeric shit as sperators (i.e. '-') -"e and E same as above for right side - -"textmanipulation -"delete (d is taken by wasd, c is close to d) -nnoremap c d -"delte selected -nnoremap cc dd -"delte line -nnoremap cl dd -"dene (cc works too) -nnoremap ce dw -nnoremap cq cb -"delete next word -"copy/paste (y is the vim default, Ctrl-c is for many GUI programs and windows) -nnoremap yr y$ -"yank (copy) renemaining line behind curser -nnoremap Ctrl-c y -"yank (copy) selected, equivalent to y - -"marocs -nnoremap r q -nnoremap R qq -nnoremap rr qq - "modifier keys let mapleader="," nnoremap l $