summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-03-14 14:11:47 +0100
committerJulian T <julian@jtle.dk>2019-03-14 14:11:47 +0100
commitd1cc04a52c66ee197378d7354a1aba6281e8b32c (patch)
tree6fadf479087623a42de9c951ea130bd1ef797fbb /vim
parent9da5284cd811098bf8609e51ba602f08be493766 (diff)
Youcompleteme and qutebrowser
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc19
1 files changed, 10 insertions, 9 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 19c58cb..4515292 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -15,7 +15,7 @@ set shellslash
Plugin 'VundleVim/Vundle.vim'
" Completion
- Plugin 'ervandew/supertab'
+ Plugin 'Valloric/YouCompleteMe'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-repeat'
@@ -28,6 +28,7 @@ set shellslash
Plugin 'davidhalter/jedi-vim'
Plugin 'junegunn/goyo.vim'
Plugin 'vim-latex/vim-latex'
+ Plugin 'jceb/vim-orgmode'
" Color theme
Plugin 'agude/vim-eldar'
@@ -36,8 +37,8 @@ set shellslash
Plugin 'scrooloose/nerdtree'
" Snippits
- Plugin 'SirVer/ultisnips'
- Plugin 'honza/vim-snippets'
+ " Plugin 'SirVer/ultisnips'
+ " Plugin 'honza/vim-snippets'
" Git
Plugin 'jreybert/vimagit'
@@ -70,15 +71,13 @@ set hidden
" Snippits
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
- let g:UltiSnipsExpandTrigger="<c-b>"
- let g:UltiSnipsJumpForwardTrigger="<c-b>"
- let g:UltiSnipsJumpBackwardTrigger="<c-z>"
+ " let g:UltiSnipsExpandTrigger="<c-b>"
+ " let g:UltiSnipsJumpForwardTrigger="<c-b>"
+ " let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" If you want :UltiSnipsEdit to split your window.
- let g:UltiSnipsEditSplit="vertical"
+ " let g:UltiSnipsEditSplit="vertical"
- " inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
- " inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" File finding
set path+=**
@@ -93,6 +92,8 @@ set completeopt=menuone,preview
" Keymapping
map <C-n> :NERDTreeToggle<CR>
map <F4> :TagbarToggle<CR>
+ inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
+ inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" Leader stuff
let mapleader=" "