mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-06-15 20:25:13 +02:00
fish: set cursor to line, update keybind since it was not recognized by
tmux
This commit is contained in:
@@ -8,5 +8,5 @@ bind k 'if commandline --paging-mode; commandline --function up-line; else; comm
|
||||
# tmux-sessionizer (Ctrl+n)
|
||||
bind ctrl-n 'tmux-sessionizer'
|
||||
|
||||
bind shift-enter 'accept-autosuggestion'
|
||||
bind : 'accept-autosuggestion'
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
if status is-interactive
|
||||
echo -ne "\e[6 q" # Set cursor to a line (bar) style
|
||||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
|
||||
@@ -86,5 +86,5 @@ function fish_prompt
|
||||
end
|
||||
end
|
||||
|
||||
echo -n -s ' '$cwd $repo_info $normal ' '
|
||||
echo -n -s -e ' '$cwd $repo_info $normal ' \e[6 q'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user