1
0
mirror of https://github.com/amix/vimrc synced 2025-07-08 01:25:00 +08:00

merge conflicts of .gitignore and README.md

This commit is contained in:
hustcalm
2013-05-06 17:08:40 +08:00
1082 changed files with 36161 additions and 7512 deletions

View File

@ -61,6 +61,10 @@ let g:mapleader = ","
" Fast saving
nmap <leader>w :w!<cr>
" :W sudo saves the file
" (useful for handling the permission-denied error)
command W w !sudo tee % > /dev/null
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => VIM user interface

View File

@ -10,21 +10,15 @@
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set background=dark
if has("gui_running")
colorscheme peaksea
else
colorscheme ir_black
endif
colorscheme peaksea
" Set font according to system
if has("mac") || has("macunix")
set gfn=Menlo:h14
set shell=/bin/bash
set gfn=Menlo:h15
elseif has("win16") || has("win32")
set gfn=Bitstream\ Vera\ Sans\ Mono:h10
set gfn=Bitstream\ Vera\ Sans\ Mono:h11
elseif has("linux")
set gfn=Monospace\ 10
set shell=/bin/bash
set gfn=Monospace\ 11
endif
" Open MacVim in fullscreen mode

View File

@ -58,6 +58,14 @@ let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'
map <leader>j :PeepOpen<cr>
""""""""""""""""""""""""""""""
" => ZenCoding
""""""""""""""""""""""""""""""
" Enable all functions in all modes
let g:user_zen_mode='a'
""""""""""""""""""""""""""""""
" => snipMate (beside <TAB> support <CTRL-j>)
""""""""""""""""""""""""""""""
@ -80,6 +88,12 @@ map <leader>nb :NERDTreeFromBookmark
map <leader>nf :NERDTreeFind<cr>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => vim-multiple-cursors
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:multi_cursor_next_key="\<C-s>"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => surround.vim config
" Annotate strings with gettext http://amix.dk/blog/post/19678