mirror of
https://github.com/harish2704/neovim-konsole.git
synced 2026-09-10 12:51:09 +00:00
Move cursor-shape based commands to wrapper scripts ( From vimrc )
This commit is contained in:
+7
-1
@@ -3,10 +3,16 @@
|
||||
thisFile=$(readlink -f $0);
|
||||
appDir="$(dirname $thisFile)/..";
|
||||
|
||||
# Disable Ctrl-S
|
||||
stty stop '' -ixoff
|
||||
|
||||
export TERM=xterm-256color
|
||||
export INPUTRC="${appDir}/inputrc_nvim"
|
||||
export NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
export NVIM_TUI_ENABLE_CURSOR_SHAPE=1
|
||||
|
||||
konsole --dograb --hide-tabbar --hide-menubar --profile nvim -e nvim $@
|
||||
# For CursorShape management in Konsole
|
||||
cursorShapeCmd='let &t_SI = "\<Esc>]50;CursorShape=1\x7" | let &t_SR = "\<Esc>]50;CursorShape=2\x7" | let &t_EI = "\<Esc>]50;CursorShape=0\x7"';
|
||||
|
||||
konsole --dograb --hide-tabbar --hide-menubar --profile nvim -e /usr/bin/nvim --cmd "$cursorShapeCmd" $@;
|
||||
# konsole --profile nvim
|
||||
|
||||
Reference in New Issue
Block a user