Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 6 commits
  • 1 file changed
  • 0 comments
  • 3 contributors

Showing 1 changed file with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. 11  vimrc
11  vimrc
... ...
@@ -1,3 +1,4 @@
  1
+set autochdir     " Set pwd to file you're working on
1 2
 set nocompatible  " Use Vim settings, rather then Vi settings
2 3
 set nobackup
3 4
 set nowritebackup
@@ -6,6 +7,11 @@ set ruler         " show the cursor position all the time
6 7
 set showcmd       " display incomplete commands
7 8
 set incsearch     " do incremental searching
8 9
 set laststatus=2  " Always display the status line
  10
+set directory=~/temp  " Set one directory where the swap file saves to
  11
+set autoread      " don't ask to load external changes to a buffer
  12
+set foldmethod=manual     " code folding
  13
+set hlsearch      " highlight search matches
  14
+nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>   " spacebar clears hightlights
9 15
 
10 16
 " Switch syntax highlighting on, when the terminal has colors
11 17
 " Also switch on highlighting the last used search pattern.
@@ -36,7 +42,7 @@ set shiftwidth=2
36 42
 set expandtab
37 43
 
38 44
 " Display extra whitespace
39  
-set list listchars=tab:»·,trail:·
  45
+" set list listchars=tab:»·,trail:·
40 46
 
41 47
 " Local config
42 48
 if filereadable(".vimrc.local")
@@ -49,9 +55,10 @@ if executable("ack")
49 55
 endif
50 56
 
51 57
 " Color scheme
52  
-colorscheme github
  58
+" colorscheme github
53 59
 highlight NonText guibg=#060606
54 60
 highlight Folded  guibg=#0A0A0A guifg=#9090D0
  61
+highlight Search guibg=LightBlue
55 62
 
56 63
 " Numbers
57 64
 set number

No commit comments for this range

Something went wrong with that request. Please try again.