diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2022-09-03 11:22:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-03 11:22:26 +0200 |
| commit | 49b043e2a3e63cdd50bcde752e3b32dae22d8a3a (patch) | |
| tree | cd418016e89e686d4c5c14112ca4786df96724d9 /lua/telescope/mappings.lua | |
| parent | b923665e64380e97294af09117e50266c20c71c7 (diff) | |
fix: nop i_<c-j> because we dont want allow new line (#2147)
Diffstat (limited to 'lua/telescope/mappings.lua')
| -rw-r--r-- | lua/telescope/mappings.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index 66a7812..e5b23bc 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -157,6 +157,9 @@ mappings.default_mappings = config.values.default_mappings ["<C-/>"] = actions.which_key, ["<C-_>"] = actions.which_key, -- keys from pressing <C-/> ["<C-w>"] = { "<c-s-w>", type = "command" }, + + -- disable c-j because we dont want to allow new lines #2123 + ["<C-j>"] = actions.nop, }, n = { |
