From 9895a84cab535ed6a9454b0ee05ae86466a66ca2 Mon Sep 17 00:00:00 2001 From: spike Date: Sun, 11 Sep 2022 14:29:33 +0200 Subject: [PATCH] use sh instead of fish as default shell --- TODO | 8 ++++---- lua/core/options.lua | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 10ae71c..7ebd25b 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,5 @@ - per project lsp settings -- set neovim shell to bash/sh for faster commands (fish is slow) see https://www.reddit.com/r/neovim/comments/opipij/guide_tips_and_tricks_to_reduce_startup_and/ -- yank until end of line $ mapping -- remove registers from which-key plugin - fix color/icon of status line diagnostics to match navigator - pin all plugins - autocommand move current directory when move to new window @@ -23,4 +20,7 @@ - incorporate changes in nvchad_ui to override - [x]nvim C-p should not work in ft=qf - +- [x] set neovim shell to bash/sh for faster commands (fish is slow) +- [x] yank until end of line $ mapping automatic with Y +- [x] remove registers from which-key plugin + -fix: problem with auto paused navigators diff --git a/lua/core/options.lua b/lua/core/options.lua index 444f0c7..02a59bd 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -9,6 +9,9 @@ g.transparency = config.ui.transparency g.theme_switcher_loaded = false -- g.fg_man_folding_enable = true -- enable folding for man pages + +if vim.fn.executable("sh") then opt.shell = vim.fn.exepath("sh") end + -- use filetype.lua instead of filetype.vim. it's enabled by default in neovim 0.8 (nightly) if g.vim_version < 8 then g.did_load_filetypes = 0