diff options
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/keymaps.fnl | 12 | ||||
-rw-r--r-- | 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] :<A-j> ":m .+1<cr>==") -(map! [n] :<A-k> ":m .-2<cr>==") -(map! [i] :<A-j> "<esc>:m .+1<cr>==gi") -(map! [i] :<A-k> "<esc>:m .-2<cr>==gi") -(map! [v] :<A-j> ":m '>+1<cr>gv=gv") -(map! [v] :<A-k> ":m '<-2<cr>gv=gv") +(map! [n] :<A-e> ":m .+1<cr>==") +(map! [n] :<A-r> ":m .-2<cr>==") +(map! [i] :<A-e> "<esc>:m .+1<cr>==gi") +(map! [i] :<A-r> "<esc>:m .-2<cr>==gi") +(map! [v] :<A-e> ":m '>+1<cr>gv=gv") +(map! [v] :<A-r> ":m '<-2<cr>gv=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 {:<M-l> "@parameter.inner" :<M-j> "@function.outer"} :swap_previous {:<M-h> "@parameter.inner" |