Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Yeah, it's called wildignore.

  • Loading branch information...
commit 92a9f013a4e5db9f78c3a6139d2134e18ea0f7d8 1 parent cc2258f
@theIV authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 vimrc
View
12 vimrc
@@ -40,6 +40,8 @@ noremap <leader>n :nohl<CR>
set wildmode=list:longest
+set wildignore+=*.sw? " Vim swap files
+
" invisibles
" Show invisible characters
set list
@@ -65,6 +67,16 @@ augroup myfiletypes
au FileType css set omnifunc=csscomplete#CompleteCSS
augroup END
+" Only show cursorline in the current window and in normal mode.
+
+augroup cline
+ au!
+ au WinLeave * set nocursorline
+ au WinEnter * set cursorline
+ au InsertEnter * set nocursorline
+ au InsertLeave * set cursorline
+augroup END
+
set ts=2
set sts=2
set sw=2
Please sign in to comment.
Something went wrong with that request. Please try again.