diff options
Diffstat (limited to '')
-rw-r--r-- | vimrc_geohot | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/vimrc_geohot b/vimrc_geohot index 077e3c1..16bf188 100644 --- a/vimrc_geohot +++ b/vimrc_geohot @@ -1,11 +1,40 @@ syntax on -set tabstop=2 -set shiftwidth=2 +filetype plugin indent on "load plugin and indent files associated a detected filetype + +set showmatch "highlights matching brackets on cursor hover +set tabstop=4 +set shiftwidth=4 set expandtab set ai -set number +set number set hlsearch set ruler +set nohlsearch "highlights searches +set incsearch "incremental search (searches character by character) +set ignorecase "ignores the case of a search +set smartcase "only ignores case if there are no capital letters in search (only works after ignorecase has been set) +set splitbelow " split horiz below +set noswapfile +set nobackup +set splitright " split new to the right when doing vertical +set path+=** +set nocp +set t_Co=256 + +"" Quick Editing vimrc +nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr> + +" clear search highlights +nnoremap <leader><space> :noh<cr>:call clearmatches()<cr> + " manual highlights +set background=dark +colorscheme elflord + highlight Visual ctermfg=black ctermbg=LightMagenta highlight Comment ctermfg=DarkGray + +" ignore wrapping. you can move to the visual start of end of a line with `g0` +" and `g$`, respectively. +noremap j gj +noremap k gk |