mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
tweaks and ftplugins
This commit is contained in:
parent
80efd65a10
commit
6d8480b8b5
11 changed files with 128 additions and 95 deletions
|
|
@ -26,6 +26,9 @@ return {
|
|||
autopairs = {
|
||||
enable = true,
|
||||
},
|
||||
matchup = {
|
||||
enable = true,
|
||||
},
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
|
|
@ -35,6 +38,10 @@ return {
|
|||
['if'] = '@function.inner',
|
||||
['aa'] = '@statement.outer',
|
||||
['ia'] = '@parameter.inner',
|
||||
["ik"] = "@assignment.lhs",
|
||||
["ak"] = "@assignment.inner",
|
||||
["iv"] = "@assignment.rhs",
|
||||
["av"] = "@assignment.outer",
|
||||
},
|
||||
},
|
||||
move = {
|
||||
|
|
@ -42,10 +49,12 @@ return {
|
|||
goto_next_start = {
|
||||
[']a'] = '@parameter.inner',
|
||||
[']f'] = '@function.outer',
|
||||
[']]'] = '@block.inner',
|
||||
},
|
||||
goto_previous_start = {
|
||||
['[a'] = '@parameter.inner',
|
||||
['[f'] = '@function.outer',
|
||||
['[['] = '@block.inner',
|
||||
},
|
||||
},
|
||||
swap = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue