From 374e3ab69621d03571c36e248ab311c0facffec9 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 5 Apr 2020 11:54:05 -0400 Subject: auto push --- modules/general.vim | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'modules/general.vim') diff --git a/modules/general.vim b/modules/general.vim index fdcb226b..42f1e7a7 100644 --- a/modules/general.vim +++ b/modules/general.vim @@ -4,10 +4,9 @@ if &compatible endif " set leader key -let g:mapleader="\\" -" alias for leader key -nmap \ -xmap \ +let g:mapleader = "\" +" set local leader key +let g:maplocalleader = ',' syntax enable " Enables syntax highlighing set hidden " Required for specific actions that require multiple buffers @@ -23,7 +22,7 @@ set splitbelow " Horizontal splits will automatically b set splitright " Vertical splits will automatically be to the right set t_Co=256 " Support 256 colors set autochdir " Your working directory will always be the same as your working directory -set conceallevel=0 " So that I can see `` in markdown files +set conceallevel=0 " So that I can see `` in markdown files set tabstop=2 " Insert 2 spaces for a tab set shiftwidth=2 " Change the number of space characters inserted for indentation set smarttab " Makes tabbing smarter will realize you have 2 vs 4 @@ -35,7 +34,6 @@ set number " Line numbers set cursorline " Enable highlighting of the current line set background=dark " tell vim what the background color looks like -let g:python_highlight_all = 0 " Get rid of annoying red highlights" look into polyglot python implementation to choose what you want to enable let g:elite_mode=1 " Disable arrows" filetype plugin indent on " Gives vim abilty to recognize filetypes @@ -83,15 +81,25 @@ nnoremap j nnoremap k nnoremap l +" I hate escape more than anything else +inoremap jk +inoremap kj +" This is how much I hate it +inoremap + +" Easy CAPS +inoremap viwUi +nnoremap viwU + " TAB in general mode will move to text buffer nnoremap :VimwikiNextLink " SHIFT-TAB will go back nnoremap :VimwikiPrevLink -nmap wn VimwikiNextLink -nmap wp VimwikiPrevLink -< + +"nmap wn VimwikiNextLink +"nmap wp VimwikiPrevLink " TAB in general mode will move to text buffer nnoremap :bnext " SHIFT-TAB will go back -- cgit v1.2.3