Adding open-browser.vim

This commit is contained in:
Alex Yatskov 2015-04-04 20:27:25 +09:00
parent 30c64f5a42
commit b6cc5ed47e
2 changed files with 12 additions and 8 deletions

View File

@ -1,13 +1,13 @@
let mapleader = ',' let mapleader = ','
" core " core
nnoremap <silent> <Bs> :bd<Cr> nnoremap <silent> <Bs> :bd<Cr>
nnoremap <silent> <Esc><Esc> :nohlsearch<Cr> nnoremap <silent> <Esc><Esc> :nohlsearch<Cr>
nnoremap <silent> <leader>n :set relativenumber!<Cr> nnoremap <silent> <leader>n :set relativenumber!<Cr>
nnoremap <silent> Q <Nop> nnoremap <silent> Q <Nop>
nnoremap <silent> j gj nnoremap <silent> j gj
nnoremap <silent> k gk nnoremap <silent> k gk
noremap <silent> ; : noremap <silent> ; :
" nerdtree " nerdtree
nnoremap <silent> <leader>t :NERDTreeToggle<Cr> nnoremap <silent> <leader>t :NERDTreeToggle<Cr>
@ -18,3 +18,6 @@ nnoremap <silent> <leader>a :ArgWrap<Cr>
" vim-easy-align " vim-easy-align
vmap <Cr> <Plug>(EasyAlign) vmap <Cr> <Plug>(EasyAlign)
" open-browser.vim
nmap <leader>o <Plug>(openbrowser-smart-search)
vmap <leader>o <Plug>(openbrowser-smart-search)

View File

@ -30,6 +30,7 @@ Plug 'https://github.com/tpope/vim-repeat'
Plug 'https://github.com/tpope/vim-speeddating.git' Plug 'https://github.com/tpope/vim-speeddating.git'
Plug 'https://github.com/tpope/vim-surround' Plug 'https://github.com/tpope/vim-surround'
Plug 'https://github.com/tpope/vim-unimpaired.git' Plug 'https://github.com/tpope/vim-unimpaired.git'
Plug 'https://github.com/tyru/open-browser.vim.git'
Plug 'https://github.com/vim-latex/vim-latex.git' Plug 'https://github.com/vim-latex/vim-latex.git'
if has('unix') if has('unix')
@ -51,11 +52,11 @@ let g:syntastic_always_populate_loc_list = 1
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
" vim-latex " vim-latex
let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_DefaultTargetFormat = 'pdf'
let g:Tex_MultipleCompileFormats = 'pdf, aux' let g:Tex_MultipleCompileFormats = 'pdf, aux'
" vim-licenses " vim-licenses
let g:licenses_authors_name = 'Alex Yatskov <alex@foosoft.net>' let g:licenses_authors_name = 'Alex Yatskov <alex@foosoft.net>'
let g:licenses_copyright_holders_name = g:licenses_authors_name let g:licenses_copyright_holders_name = g:licenses_authors_name
" vim-table-mode " vim-table-mode