summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-08-23 17:50:44 +0200
committerUrbain Vaes <urbain@vaes.uk>2020-08-23 17:50:44 +0200
commit53ad321dec265dd2f625197493a9848a7559a410 (patch)
treebada694624a3d62a6b1f3caccf15141b1e9dd1c3 /vim
parent1ffe1b38e0a6cf182ce2a34ee38f64001dd412a3 (diff)
Minor changes
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/spell/en.utf-8.add2
-rw-r--r--vim/.vim/spell/en.utf-8.add.splbin1067 -> 1111 bytes
-rw-r--r--vim/.vimrc49
3 files changed, 27 insertions, 24 deletions
diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add
index ed6a065..b70e5e7 100644
--- a/vim/.vim/spell/en.utf-8.add
+++ b/vim/.vim/spell/en.utf-8.add
@@ -67,3 +67,5 @@ colorscheme
plugin
hypoellipticity
minorization
+perturbative
+documentclass
diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl
index e68d3e5..459931e 100644
--- a/vim/.vim/spell/en.utf-8.add.spl
+++ b/vim/.vim/spell/en.utf-8.add.spl
Binary files differ
diff --git a/vim/.vimrc b/vim/.vimrc
index 22447e8..77189c5 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -89,20 +89,19 @@ nnoremap cpu :GundoToggle<cr>
nnoremap <expr> cp Remembrall('cp')
" Fuzzy finder
-nnoremap <c-p>a :Ag
-nnoremap <c-p>b :Buffers<cr>
-nnoremap <c-p>C :Colors<cr>
-nnoremap <c-p>f :Files<cr>
-nnoremap <c-p>g :GitFiles<cr>
-nnoremap <c-p>r :History<cr>
-nnoremap <c-p>: :History:<cr>
-nnoremap <c-p>/ :History/<cr>
-nnoremap <c-p>l :BLines<cr>
-nnoremap <c-p>a :Ag
-
-nnoremap <a-b> :Buffers<cr>
-nnoremap <a-f> :Files<cr>
-nnoremap <a-g> :GitFiles<cr>
+nnoremap <c-p>a :Ag
+nnoremap <c-p>b :Buffers<cr>
+nnoremap <c-p>C :Colors<cr>
+nnoremap <c-p>f :Files<cr>
+nnoremap <c-p>g :GitFiles<cr>
+nnoremap <c-p>r :History<cr>
+nnoremap <c-p>: :History:<cr>
+nnoremap <c-p>/ :History/<cr>
+nnoremap <c-p>l :BLines<cr>
+
+nnoremap <a-b> :Buffers<cr>
+nnoremap <a-f> :Files<cr>
+nnoremap <a-g> :GitFiles<cr>
" Fugitive
nnoremap <Leader>gs :Gstatus<cr>
@@ -481,16 +480,18 @@ if has("nvim")
endif
"" Experimental {{{1
-lua require'nvim_lsp'.pyls.setup{}
-autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc
-nnoremap <expr> <c-g> Remembrall('<c-g>')
-nnoremap <silent> <c-g>h <cmd>lua vim.lsp.buf.hover()<cr>
-nnoremap <silent> <c-g>a <cmd>lua vim.lsp.buf.declaration()<cr>
-nnoremap <silent> <c-g>d <cmd>lua vim.lsp.buf.definition()<cr>
-nnoremap <silent> <c-g>i <cmd>lua vim.lsp.buf.implementation()<cr>
-nnoremap <silent> <c-g>s <cmd>lua vim.lsp.buf.signature_help()<cr>
-nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr>
-nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr>
+if has("nvim")
+ lua require'nvim_lsp'.pyls.setup{}
+ autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc
+ nnoremap <expr> <c-g> Remembrall('<c-g>')
+ nnoremap <silent> <c-g>h <cmd>lua vim.lsp.buf.hover()<cr>
+ nnoremap <silent> <c-g>a <cmd>lua vim.lsp.buf.declaration()<cr>
+ nnoremap <silent> <c-g>d <cmd>lua vim.lsp.buf.definition()<cr>
+ nnoremap <silent> <c-g>i <cmd>lua vim.lsp.buf.implementation()<cr>
+ nnoremap <silent> <c-g>s <cmd>lua vim.lsp.buf.signature_help()<cr>
+ nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr>
+ nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr>
+endif
function Create_floating_buffer()
let buffer = nvim_create_buf(1, 0)