Skip to content

Commit

Permalink
sublime/vim updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cobyism committed Jan 4, 2013
1 parent d0b3c30 commit fcf3c42
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sublime/User/Package Control.sublime-settings
@@ -1,5 +1,5 @@
{
"auto_upgrade_last_run": 1352132669,
"auto_upgrade_last_run": null,
"installed_packages":
[
"AdvancedNewFile",
Expand Down
3 changes: 3 additions & 0 deletions sublime/User/Side Bar.sublime-settings
@@ -0,0 +1,3 @@
{
"version": "11.13.2012.1305.0"
}
15 changes: 12 additions & 3 deletions vim/vimrc.symlink
Expand Up @@ -2,13 +2,14 @@
set nocompatible
syntax enable
set encoding=utf-8
set showcmd " display incomplete commands
filetype plugin indent on " load file type plugins + indentation

" Searching
set hlsearch " highlight matches
set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
set smartcase " ... unless they contain at least one capital letter test

" Directories for swp files
set backupdir=~/.vim/backup
Expand All @@ -23,7 +24,7 @@ set softtabstop=2
set listchars=tab:▸\ ,eol:¬,trail:·
set showbreak=…
set nolist
set formatoptions=l
set formatoptions=lj
set lbr
set wrap

Expand All @@ -36,5 +37,13 @@ set guioptions=aAce
set number
set ruler
syntax on
color desert
color molokai
set guifont=Source\ Code\ Pro:h18
set visualbell

" Shortcuts
nmap <silent> <leader>l :set list!<CR>
nmap <silent> <leader>w :set wrap!<CR>
nmap <silent> <leader>h :set invhlsearch<CR>
nmap <silent> <leader>s :set spell!<CR>
nmap <silent> <leader>R :source ~/.vimrc<CR>

0 comments on commit fcf3c42

Please sign in to comment.