Skip to content

Commit

Permalink
Merge branch 'main' of github.com:maggick/howdoiexitvim
Browse files Browse the repository at this point in the history
  • Loading branch information
maggick committed Jan 7, 2024
2 parents 2002ef7 + 373906c commit f55c3c7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"safe": 1,
"safe_info": "This will quit vim without saving the modification.",
"command": "esc+:+q+a+!",
"command_explained": "The <esc> should get the editor back to Normal mode. Then <:> enter a vim command and <q>+<a>+<!> says to quit all without saving.",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <q>+<a>+<!> says to quit all without saving.",
"weight":3
},
{
"id":1,
"safe": 0,
"safe_info": "It will save your file and exit vim.",
"command": "esc+:+x",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enter a vim command and <x> says to save the current file and quit.",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <x> says to save the current file and quit.",
"weight":3
},
{
Expand All @@ -29,15 +29,15 @@
"safe": 1,
"safe_info": "Progress might be loss.",
"command": "esc+ctrl+z",
"command_explained": "This will put vim in the background, thus exiting vim. Note that vim is still running and it might be required to kill it.",
"command_explained": "This will put vim in the background, thus exiting vim. Note that vim is still running and it might be required to kill it manually.",
"weight":2
},
{
"id":4,
"safe": 0,
"safe_info": "It will save your file and exit vim.",
"command": "esc+Z+Z",
"command_explained": "The <esc> should get the editor back to Normal mode. Then <Z>+<Z> will save and quit.",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <Z>+<Z> will save and quit.",
"weight":3
},
{
Expand All @@ -53,23 +53,23 @@
"safe": 0,
"safe_info": "This will save your fille and quit vim.",
"command": "esc+:+w+q",
"command_explained": "The <esc> should get the editor back to Normal mode. Then <:> enter a vim command and <w>+<q>says to vim to save and quit.",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <w>+<q> says to vim to save and quit.",
"weight":3
},
{
"id":7,
"safe": 1,
"safe_info": "This will quit vim without saving the modification.",
"command": "esc+:+c+q",
"command_explained": "The <esc> should get the editor back to Normal mode. Then <:> enter a vim command and <c>+<q> says to quit without saving with a non zero exit code.",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <c>+<q> says to quit without saving with a nonzero exit code.",
"weight":3
},
{
"id":8,
"safe": 1,
"safe_info": "It will exit without saving any modification.",
"command": "esc+Z+Q",
"command_explained": "The <esc> should get the editor back to Normal mode. Then <Z>+<Q> will quit without saving.",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <Z>+<Q> will quit without saving.",
"weight":3
}
]
Expand Down

0 comments on commit f55c3c7

Please sign in to comment.