summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-14 16:54:42 +0200
committerUrbain Vaes <urbain@vaes.uk>2020-10-14 16:54:42 +0200
commit3ccffd6eddb1d614ff3da9ce48594cd716ddcdcb (patch)
tree647644bfb429cbc1983d6664d85487dbf67f3f59
parente5dd436aabe5ac43db7af408a6106fc43644371c (diff)
Fix minor bugs
-rw-r--r--vifm/.config/vifm/vifmrc1
-rw-r--r--vim/.vimrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc
index 0dd5220..f02455a 100644
--- a/vifm/.config/vifm/vifmrc
+++ b/vifm/.config/vifm/vifmrc
@@ -40,6 +40,7 @@ nnoremap ,i :!inkscape %f<cr>
nnoremap <c-d> :q<cr>
nnoremap <c-l> <c-w>l
nnoremap <bs> <c-w>h
+nnoremap R :sort<cr>c
" To disable automatic tagging of search results
nnoremap coh :set hlsearch!<cr>
diff --git a/vim/.vimrc b/vim/.vimrc
index 99fd8d4..e2ffadb 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -70,7 +70,7 @@ if has("nvim")
Plug '~/dotfiles/plugins/nvim-i3scratchpad'
endif
-if hostname() != "peuplier"
+if has("nvim") && hostname() != "peuplier"
Plug 'neovim/nvim-lsp'
endif