summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-12-24 15:56:38 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-12-24 15:56:38 +0100
commit1a8ce5c70e1b308be3ca5e2e643ca2f88b3916ce (patch)
tree079e63c9037b464170c105fa79e58b23ff58e983
parentd95b1fe411836049d0fdf00487591888d987384b (diff)
Minor changes
-rw-r--r--vim/.vimrc26
-rw-r--r--zsh/.zshrc1
2 files changed, 14 insertions, 13 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 19bc647..94ba320 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -227,7 +227,7 @@ set undodir^=~/.vim/undo//
" // : store absolute path
" set complete+=k
-set conceallevel=2
+set conceallevel=0
set cursorline
set diffopt=filler,vertical,hiddenoff
set expandtab
@@ -488,15 +488,15 @@ if has("nvim")
endif
"" Experimental {{{1
-if has("nvim") && hostname() != "peuplier"
- 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
+" if has("nvim") && hostname() != "peuplier"
+" 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
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 49c886d..9034724 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -146,6 +146,7 @@ alias pacs='pacman -Ss'
# Systemctl
alias sysnet="systemctl restart NetworkManager.service"
alias sysvpn="systemctl restart openvpn-client@ic.service"
+alias wacom="xsetwacom --set 'Wacom One by Wacom S Pen stylus' mode relative"
# Directories
alias ..="cd .."