From 315421a15f8a8659a8e95388e0fe3c23ee8d7d3e Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 19 Mar 2022 11:12:16 +0900 Subject: feat(keymaps)!: remap move lines * A-j, A-k -> A-e, A-r * reverts dec8d6a --- fnl/nvrc/keymaps.fnl | 12 ++++++------ fnl/nvrc/packs/treesitter.fnl | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl index d98bd0c..da71bef 100644 --- a/fnl/nvrc/keymaps.fnl +++ b/fnl/nvrc/keymaps.fnl @@ -60,9 +60,9 @@ (map! [n :expr :silent] :k "v:count == 0 ? 'gk' : 'k'") (map! [n :expr :silent] :j "v:count == 0 ? 'gj' : 'j'") -(map! [n] : ":m .+1==") -(map! [n] : ":m .-2==") -(map! [i] : ":m .+1==gi") -(map! [i] : ":m .-2==gi") -(map! [v] : ":m '>+1gv=gv") -(map! [v] : ":m '<-2gv=gv") +(map! [n] : ":m .+1==") +(map! [n] : ":m .-2==") +(map! [i] : ":m .+1==gi") +(map! [i] : ":m .-2==gi") +(map! [v] : ":m '>+1gv=gv") +(map! [v] : ":m '<-2gv=gv") diff --git a/fnl/nvrc/packs/treesitter.fnl b/fnl/nvrc/packs/treesitter.fnl index bb7b019..84ce9da 100644 --- a/fnl/nvrc/packs/treesitter.fnl +++ b/fnl/nvrc/packs/treesitter.fnl @@ -34,7 +34,7 @@ :ad "@comment.outer" :am "@call.outer" :im "@call.inner"}} - :swap {:enable false + :swap {:enable true :swap_next {: "@parameter.inner" : "@function.outer"} :swap_previous {: "@parameter.inner" -- cgit 1.4.1