diff options
| author | Mitsuo Tokumori <[email protected]> | 2019-11-07 23:06:27 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2019-11-07 23:06:27 -0500 |
| commit | 0ba0766e72a17e536684a132d79250281a4c02b9 (patch) | |
| tree | bc8faaff92612989cdc191213f34f348585e4781 /vimrc | |
| parent | 8587d7b61a2b7c09d8a7cdfd3ce75c265ad53eb2 (diff) | |
| download | dotfiles-0ba0766e72a17e536684a132d79250281a4c02b9.tar.gz dotfiles-0ba0766e72a17e536684a132d79250281a4c02b9.tar.bz2 dotfiles-0ba0766e72a17e536684a132d79250281a4c02b9.zip | |
Moved vimrc from .vim/vimrc to master
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -0,0 +1,48 @@ +" Shit that gets disabled because I created this file +set nocompatible +filetype indent plugin on +syntax on +set wildmenu +set showcmd + +" Numbers +set number + +" Search +set hlsearch + +" Indentation +set tabstop=8 +set softtabstop=4 +set shiftwidth=4 +set noexpandtab +set smarttab +set autoindent +set smartindent + +" Word wrap +set wrap +set linebreak +" Set textwidth when you know how to quickly 'justify' comments or block of +" text. This is a really nice feature, but how can I edit C comments without +" leaving some lines short? +" set textwidth=80 +" set wrapmargin=0 +" set formatoptions-=t + +" Other settings +" ============== +set mouse=a +" set cmdheight=1 +" Always display the status line, even if only one window is displayed +set laststatus=2 +set ruler + +" Mappings +" ======== +map <F7> :tabp<CR> +map <F8> :tabn<CR> + +" ? Map <C-L> (redraw screen) to also turn off search highlighting until the +" next search +nnoremap <C-L> :nohl<CR><C-L> |
