From 8bf741caf10507c033310b4e1dc1a210ff32e63f Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Wed, 30 Apr 2025 22:41:17 +0200 Subject: [PATCH] ipython+nvim --- ipython/ipython_config.py | 1 + nvim/init.lua | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ipython/ipython_config.py b/ipython/ipython_config.py index df7f999..9bdd94a 100644 --- a/ipython/ipython_config.py +++ b/ipython/ipython_config.py @@ -3,3 +3,4 @@ c.TerminalInteractiveShell.colors = "Linux" c.TerminalInteractiveShell.confirm_exit = False c.TerminalInteractiveShell.true_color = True c.TerminalInteractiveShell.editing_mode="vi" +c.TerminalInteractiveShell.emacs_bindings_in_vi_insert_mode = False diff --git a/nvim/init.lua b/nvim/init.lua index 51585cc..2160817 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1034,7 +1034,6 @@ local function makespec_snacks() }, }, toggle = { enabled = true }, - words = { enabled = true }, styles = { lazygit = { width = 0, @@ -1069,7 +1068,9 @@ local function makespec_snacks() { "", function() Snacks.picker.help() end, desc = "Help Pages" }, { "", function() Snacks.picker.colorschemes() end, desc = "Colorschemes" }, { "", function() Snacks.picker.git_grep() end, desc = "Grep Git Files" }, + { "sg", function() Snacks.picker.git_grep() end, desc = "Grep Git Files" }, { "", function() Snacks.picker.grep({ untracked = true }) end, desc = "Grep Files" }, + { "sa", function() Snacks.picker.grep({ untracked = true }) end, desc = "Grep Files" }, { "*", function() Snacks.picker.grep_word() end, desc = "Visual selection or word", mode = { "n", "x" }, }, { "/", function() Snacks.picker.search_history() end, desc = "Search History" }, { ";", function() Snacks.picker.command_history() end, desc = "Command History" },