From 65a581e0ce9c9a9d8f41c143fdad47fe35b569db Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sun, 23 Aug 2020 11:57:34 +0300 Subject: [PATCH] very minor changes --- nvim/plugin/completion.vim | 1 + scripts/mediawiki-preview | 2 +- zsh/aliases.zsh | 1 + zsh/my-syntax-theme.ini | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nvim/plugin/completion.vim b/nvim/plugin/completion.vim index 79943cd..c2969b9 100644 --- a/nvim/plugin/completion.vim +++ b/nvim/plugin/completion.vim @@ -53,6 +53,7 @@ endif nnoremap c CocList commands nnoremap o CocList --auto-preview outline nnoremap s CocList --interactive symbols + nnoremap e CocList extensions nnoremap h CocPrev nnoremap k CocPrev nnoremap l CocNext diff --git a/scripts/mediawiki-preview b/scripts/mediawiki-preview index 919629b..c1cfc68 100755 --- a/scripts/mediawiki-preview +++ b/scripts/mediawiki-preview @@ -19,7 +19,7 @@ # nginx configuration: # # server { -# listen 80; +# listen 127.155.44.48:80; # server_name 127.155.44.48; # This address was chosen randomly # location / { # proxy_pass https://wiki.c2dl.info; # Replace with your wiki diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index d8c4134..a3a6563 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -74,6 +74,7 @@ alias e="$EDITOR" if [[ "$EDITOR" == *vim ]]; then alias es="e -S" fi +alias sue="sudo --edit" # some amendments to Oh My Zsh's git plugin # https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/git.plugin.zsh diff --git a/zsh/my-syntax-theme.ini b/zsh/my-syntax-theme.ini index 55a5ed6..6104b22 100644 --- a/zsh/my-syntax-theme.ini +++ b/zsh/my-syntax-theme.ini @@ -47,7 +47,7 @@ bracket-level-3 = 7 [arguments] single-hyphen-option = 16 double-hyphen-option = 16 -back-quoted-argument = 17 +back-quoted-argument = 2 single-quoted-argument = 2 double-quoted-argument = 2 dollar-quoted-argument = 2