Skip to content

Commit

Permalink
Configure movement in insert move with word wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Apr 25, 2018
1 parent ab87804 commit 09dbdfa
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions settings/Library/Application Support/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@
"statusBar.debuggingBackground": "#511f1f"
},
"vim.useSystemClipboard": true,
"vim.insertModeKeyBindings": [
{
"before": [
"up"
],
"after": [
"<C-o>",
"g",
"k"
]
},
{
"before": [
"down"
],
"after": [
"<C-o>",
"g",
"j"
]
},
],
// Fix moving down full lines on word wrapped lines https://stackoverflow.com/a/46436056/1268612
"vim.otherModesKeyBindingsNonRecursive": [
{
Expand Down

0 comments on commit 09dbdfa

Please sign in to comment.