From 2e61cc3205f528e998d05e0bbc44eb09a14aa0d3 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sat, 17 Feb 2018 16:39:46 -0600 Subject: [PATCH] removed some nonfunctional stuff --- vim.link/vimrc | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/vim.link/vimrc b/vim.link/vimrc index a34a19e..379472b 100644 --- a/vim.link/vimrc +++ b/vim.link/vimrc @@ -1,4 +1,4 @@ -"inital, more techinal settings +"initial, more technical settings "this sets what sort of folding method to use. let foldtype="basicindent" @@ -23,10 +23,10 @@ filetype plugin on "adds a ruler to the side of the screen set number - "makes the ruler show how many lines away a given line is from your cursour + "makes the ruler show how many lines away a given line is from your cursor "set relativenumber - "displays the cooridnates of your cursour in the statusbar + "displays the coordinates of your cursour in the statusbar set ruler "scrollofff sets the number of lines from the top or bottom of the screen before vim will scroll. sidescroll off does the same thing for the sides of the window @@ -40,7 +40,7 @@ filetype plugin on set ignorecase set smartcase - "this allows puting the cursor just after the last characher fo the line. + "this allows putting the cursor just after the last character of the line. "set virtualedit=onemore "show unfinished commands on the RIGHT side of the statusbar. yes, it is working. @@ -56,7 +56,7 @@ filetype plugin on "keycodes time out fast, mappings have a bit longer set timeout timeoutlen=1000 ttimeout ttimeoutlen=10 - "make it so the session feature wont overwrite our vimrc if the vimrc has newer bindings than this a session. + "make it so the session feature wont overwrite our vimrc if the vimrc has newer bindings than this session. set sessionoptions-=options "tab stuff @@ -69,14 +69,11 @@ filetype plugin on set smarttab "highlighting/colour stuff - "sets the colorscheme. to get a list of the avalible colors, do :colorscheme + "sets the colorscheme. to get a list of the available colors, do :colorscheme colorscheme ron syntax enable - "highlights trailing spaces - highlight extra_white_space ctermbg=red guibg=red - match extra_white_space /\s+$/ "highlight search results set hlsearch @@ -99,7 +96,7 @@ filetype plugin on "spacebar opens or closes a fold in normal mode nmap za - "insert folding: really baisic fold method. eventually I may make some custom folds, but with the foldtext fixed a bit, this shouldnt annoy me too mutch. + "insert folding: really basic fold method. eventually I may make some custom folds, but with the foldtext fixed a bit, this shouldn't annoy me too much. if foldtype ==# "basicindent" "make vim fold automatically based on indentation. set foldmethod=indent @@ -117,24 +114,17 @@ filetype plugin on set foldtext=Minimal_foldtext() endif -"usefull keybinds +"useful keybinds "spell checking "toggle spell checking map ss :setlocal spell! - " "shortucts using leader + " shortcuts using leader " noremap sn ]s " noremap sp [s " noremap s? z= - "normal mode keybinds - "control o: insert line below - nmap o - - "alt=a: select all - nmap :keepjumps normal ggVG - - "navigating splits: Control+hjkl will move from split to split + "navigating splits: Control+hjkl will move from split to split nmap h nmap j nmap k