Skip to content

Instantly share code, notes, and snippets.

@smalinux
Created July 12, 2019 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smalinux/cfb0f7b697ba8ad6a6d254bcecbc0c76 to your computer and use it in GitHub Desktop.
Save smalinux/cfb0f7b697ba8ad6a6d254bcecbc0c76 to your computer and use it in GitHub Desktop.
VimSetUp
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" My Bundles here:
" Refer to |:NeoBundle-examples|.
" Note: You don't set neobundle setting in .gvimrc!
NeoBundle 'scrooloose/nerdtree'
NeoBundle 'sickill/vim-monokai'
" NeoBundle 'valloric/youcompleteme'
NeoBundle 'severin-lemaignan/vim-minimap'
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
" smalinux: nerdtree
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
map <C-n> :NERDTreeToggle<CR>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
" smalinux: dracula
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
syntax enable
colorscheme monokai
let g:minimap_show='<leader>ms'
let g:minimap_update='<leader>mu'
let g:minimap_close='<leader>gc'
let g:minimap_toggle='<leader>gt'
let g:minimap_highlight='Visual'
if has('gui_running')
set guioptions-=T " no toolbar
colorscheme elflord
set lines=60 columns=108 linespace=0
if has('gui_win32')
set guifont=DejaVu_Sans_Mono:h10:cANSI
else
set guifont=DejaVu\ Sans\ Mono\ 10
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment