summaryrefslogtreecommitdiff
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
commit470b79a5b29d2c50b64a945a0f67a4125a3ba8b6 (patch)
treebada694624a3d62a6b1f3caccf15141b1e9dd1c3
parent4f91c4bdf75e06395a22eb1ea0d3c7a764401264 (diff)
Minor changes
-rw-r--r--bash/.bashrc2
-rw-r--r--surfraw/.surfraw.bookmarks2
-rw-r--r--surfraw/.surfraw.conf3
-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
-rw-r--r--zsh/.zshrc2
7 files changed, 29 insertions, 31 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 542ce53..b5460fc 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -11,5 +11,5 @@ fi
# FZF
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
-FZF_MARKS_PLUGIN=$HOME/Dropbox/projects/fzf-marks/fzf-marks.plugin.bash
+FZF_MARKS_PLUGIN=$HOME/dotfiles/plugins/fzf-marks/fzf-marks.plugin.bash
[ -f "$FZF_MARKS_PLUGIN" ] && source "$FZF_MARKS_PLUGIN"
diff --git a/surfraw/.surfraw.bookmarks b/surfraw/.surfraw.bookmarks
deleted file mode 100644
index a46527b..0000000
--- a/surfraw/.surfraw.bookmarks
+++ /dev/null
@@ -1,2 +0,0 @@
-startpage https://startpage.com/do/search?hmb=1&cat=web&cmd=process_search&language=english_uk&engine0=v1all&query=%s&abp=-1&nj=0&pg=0
-dictionary http://www.dictionary.com/browse/%s
diff --git a/surfraw/.surfraw.conf b/surfraw/.surfraw.conf
deleted file mode 100644
index 07cedef..0000000
--- a/surfraw/.surfraw.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-SURFRAW_graphical_browser=/usr/bin/xdg-open
-SURFRAW_text_browser=w3m
-SURFRAW_graphical=yes
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)
diff --git a/zsh/.zshrc b/zsh/.zshrc
index e54be1c..c1000e0 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -65,8 +65,8 @@ fi
source "$HOME/.zsh/zgen/zgen.zsh"
FZF_MARKS_PLUGIN_ZSH=$HOME/dotfiles/plugins/fzf-marks/fzf-marks.plugin.zsh
-FZF_MARKS_COMMAND='fzf --height 40% --reverse -e'
[ -f "$FZF_MARKS_PLUGIN_ZSH" ] && source "$FZF_MARKS_PLUGIN_ZSH"
+FZF_MARKS_COMMAND="$FZF_MARKS_COMMAND -e -n 1 -d ' : '"
if ! zgen saved; then
echo "Creating a zgen save"