diff --git a/home/.gvimrc b/home/.gvimrc index 6989ef2..bcb2f7f 100644 --- a/home/.gvimrc +++ b/home/.gvimrc @@ -1,11 +1,12 @@ " set incsearch " Find as you type search -colorscheme jellybeans +colorscheme distinguished set guioptions-=T set guioptions-=m set guioptions-=R set guioptions-=L -set guifont=Monaco\ for\ Powerline\ 12 +" set guifont=Monaco\ for\ Powerline\ 12 +set guifont=Ubuntu\ Mono\ 14 " set guifont=Monospace\ 10 " set guifont=Ubuntu\ Mono\ 14 " set guifont=Monaco\ 10 @@ -50,9 +51,9 @@ imap ¸ 8gti " Ctrl-Enter in insert mode will append ';' to the line and insert a new line -imap A; +imap A; " Ctrl-Enter in normal mode will jump to tag definition using cscope nmap :vert scs f g - +nmap ñ :bd diff --git a/home/.vimrc b/home/.vimrc index 1163fc4..42b4ef4 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -7,7 +7,8 @@ nmap :w vmap gv imap " } -" map :TagbarToggle +nmap q :bd +map :TagbarToggle nmap :waexe "mksession! " . v:this_session " \\es Open vimrc in a new tab nmap es :tabedit ~/.vimrc @@ -36,10 +37,10 @@ nmap sc :SessionClose " } " Ctrl-Enter in insert mode will append ';' to the line and insert a new line -imap A; +imap A; " Ctrl-Enter in normal mode will jump to tag definition using cscope -nmap :vert scs f g +nmap :vert scs f g " Ctrl-? in normal mode will jump to tag references using cscope nmap :vert scs f t @@ -106,6 +107,7 @@ autocmd FileType java set foldmethod=indent autocmd FileType java set foldmethod=indent autocmd FileType html set foldmethod=indent autocmd FileType javascript set foldmethod=indent +" autocmd FileType php set foldmethod=indent ft=php.html set noswapfile " } @@ -223,7 +225,8 @@ set sessionoptions=blank,buffers,curdir,tabpages,winsize,resize,winpos " for JavaScript syntax checking { -let g:syntastic_javascript_checkers = ['jslint'] +let g:syntastic_javascript_checkers = ['jshint'] +" let g:syntastic_javascript_checkers = ['jslint'] " } @@ -232,14 +235,7 @@ let g:syntastic_javascript_checkers = ['jslint'] let g:indent_guides_guide_size = 1 let g:indent_guides_enable_on_vim_startup = 1 " } -" colorscheme colorful256 -" colorscheme mrkn256 set wrap -" colorscheme desert256 -" colorscheme 256-grayvim -colorscheme jellybeans -" colorscheme devbox-dark-256 -" colorscheme lodestone hi TabLineFill ctermfg=210 hi TabLineSel ctermbg=50 hi TabLine ctermbg=60 ctermfg=210 @@ -262,7 +258,6 @@ let Gtags_VerticalWindow = 1 let Gtags_Auto_Update = 1 let GtagsCscope_Auto_Load = 1 - " set lazyredraw " set ttyfast let g:sparkupNextMapping = '' @@ -276,6 +271,7 @@ let g:sparkupNextMapping = '' " \ } " \} +let g:mustache_abbreviations = 1 "for Bundle { set nocompatible " be iMproved @@ -287,7 +283,7 @@ Bundle 'gmarik/vundle' " My Bundles here: " " original repos on github -" Bundle 'tpope/vim-fugitive' +Bundle 'tpope/vim-fugitive' Bundle 'Lokaltog/vim-easymotion' Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} " vim-scripts repos @@ -296,7 +292,6 @@ Bundle 'FuzzyFinder' " non github repos " Bundle 'git://git.wincent.com/command-t.git' " Bundle 'git://github.com/vim-scripts/YankRing.vim.git' -Bundle 'git://github.com/maxbrunsfeld/vim-yankstack.git' " Bundle 'vim-scripts/Auto-Pairs' Bundle 'vim-scripts/DoxygenToolkit.vim' " Bundle 'Raimondi/delimitMate.git' @@ -314,15 +309,18 @@ Bundle 'garbas/vim-snipmate' Bundle 'MarcWeber/vim-addon-mw-utils' Bundle 'tomtom/tlib_vim' Bundle 'nathanaelkane/vim-indent-guides' +Bundle 'Lokaltog/vim-distinguished' " Bundle 'flazz/vim-colorschemes' Bundle 'vim-scripts/sessionman.vim' Bundle 'kien/ctrlp.vim' " Bundle 'leshill/vim-json' Bundle 'godlygeek/tabular' +" Bundle 'marijnh/tern_for_vim' Bundle 'majutsushi/tagbar' " Bundle 'amirh/HTML-AutoCloseTag' -Bundle 'tpope/vim-surround' Bundle 'vim-scripts/AutoComplPop' +Bundle 'git://github.com/maxbrunsfeld/vim-yankstack.git' +Bundle 'tpope/vim-surround' " Bundle 'Shougo/eocomplcache' Bundle 'spf13/vim-autoclose' Bundle 'scrooloose/nerdtree' @@ -335,7 +333,7 @@ Bundle 'mustache/vim-mode' Bundle 'chrisbra/NrrwRgn' Bundle 'heavenshell/vim-jsdoc' Bundle 'vim-scripts/JavaScript-Indent' -Bundle 'spf13/PIV' +" Bundle 'spf13/PIV' " Bundle 'joonty/vim-taggatron' "Bundle 'git://github.com/vim-scripts/autoload_cscope.vim.git' @@ -344,8 +342,13 @@ Bundle 'spf13/PIV' Bundle 'briancollins/vim-jst' Bundle 'vim-scripts/matchit.zip' Bundle 'harish2704/vim-snippets' -Bundle 'vim-scripts/SyntaxRange' +" Bundle 'vim-scripts/SyntaxRange' Bundle 'harish2704/gtags.vim' +" Bundle 'mustache/vim-mustache-handlebars' +Bundle 'vim-scripts/marvim' +Bundle 'Shougo/vimshell.vim' +Bundle 'Shougo/vimproc.vim' +" Bundle 'terryma/vim-multiple-cursors' " Bundle 'vim-scripts/guicolorscheme.vim' " Bundle 'vim-scripts/CSApprox' " Bundle 'vim-scripts/adt.vim' @@ -358,3 +361,12 @@ endif " } +" colorscheme colorful256 +" colorscheme mrkn256 +" colorscheme desert256 +" colorscheme 256-grayvim +colorscheme distinguished +" colorscheme devbox-dark-256 +" colorscheme lodestone + +imap