Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " enable delete key for mac
- set backspace=indent,eol,start
- " yank to clipboard
- if has("clipboard")
- set clipboard=unnamed " copy to the system clipboard
- if has("unnamedplus") " X11 support
- set clipboard+=unnamedplus
- endif
- endif
- " fzf is a general-purpose command-line fuzzy finder.
- " git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install
- " git clone https://github.com/junegunn/fzf.vim.git ~/.vim/bundle/fzf.vim
- set rtp+=~/.fzf
- set rtp+=~/.vim/bundle/fzf.vim
- " enable syntax
- syntax on
- " enable line number
- set number
- " enable wildmenu
- set wildmenu
- set wildmode=list:longest,full
- " enable recursive search
- set path+=**
- " disable automatic paste indentation
- set paste
- set tabstop=4
- set shiftwidth=4
- set expandtab
- filetype plugin indent on
- " file browser, deprecated due to :Lex command
- " let g:netrw_banner = 0
- " let g:netrw_liststyle = 3
- " let g:netrw_browse_split = 4
- " let g:netrw_altv = 1
- " let g:netrw_winsize = 25
- " augroup ProjectDrawer
- " autocmd!
- " autocmd VimEnter * :Vexplore
- " augroup END
- " custom function to open file browser defined above, deprecated due to :Lex command
- " function! s:OpenNewTabForNetrw(path)
- " execute ':tabe ' . a:path . '| vsp | vertical resize 40'
- " endfunction
- " :command! -nargs=1 Tabe call s:OpenNewTabForNetrw(<f-args>)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement