find-replace + alt-arrow commands

master
Alessandro Mauri 3 years ago
parent efd2f19f86
commit 6a853dfa12
  1. 11
      TODO
  2. 10
      data/core/keymap.lua

11
TODO

@ -19,15 +19,18 @@
[ ] optimize dir tree taking too long to load on big folders [ ] optimize dir tree taking too long to load on big folders
[ ] go in background when launching from terminal [ ] go in background when launching from terminal
[ ] some key bindings: [ ] some key bindings:
[ ] alt+right == End [x] alt+right == End
[ ] alt+left == Home [x] alt+left == Home
[ ] alt+up == PageUp [x] alt+up == PageUp
[ ] alt+down == PageDown [x] alt+down == PageDown
[ ] ctrl+d == duplicate line [ ] ctrl+d == duplicate line
[ ] ctrl+x == cut line || selection [ ] ctrl+x == cut line || selection
[ ] ctrl+c == copy line || selection [ ] ctrl+c == copy line || selection
[ ] ctrl+shift+o == change & open project folder -> core:open-project-module [ ] ctrl+shift+o == change & open project folder -> core:open-project-module
[x] ctrl+q == quit [x] ctrl+q == quit
[x] ctrl+n -> next_find
[x] ctrl+shift+n -> prev_find
[x] f3 -> new file
[x] change alt+<number> to ctrl+<number> [x] change alt+<number> to ctrl+<number>
[ ] add multi cursor system [ ] add multi cursor system
[ ] add binding to open up a cheatsheet of keybinding, with a [ ] add binding to open up a cheatsheet of keybinding, with a

@ -87,7 +87,7 @@ keymap.add {
["ctrl+shift+p"] = "core:find-command", ["ctrl+shift+p"] = "core:find-command",
["ctrl+p"] = "core:find-file", ["ctrl+p"] = "core:find-file",
["ctrl+o"] = "core:open-file", ["ctrl+o"] = "core:open-file",
["ctrl+n"] = "core:new-doc", ["f3"] = "core:new-doc",
["alt+return"] = "core:toggle-fullscreen", ["alt+return"] = "core:toggle-fullscreen",
["ctrl+q"] = "core:quit", ["ctrl+q"] = "core:quit",
@ -117,8 +117,8 @@ keymap.add {
["ctrl+f"] = "find-replace:find", ["ctrl+f"] = "find-replace:find",
["ctrl+r"] = "find-replace:replace", ["ctrl+r"] = "find-replace:replace",
["f3"] = "find-replace:repeat-find", ["ctrl+n"] = "find-replace:repeat-find",
["shift+f3"] = "find-replace:previous-find", ["ctrl+shift+n"] = "find-replace:previous-find",
["ctrl+g"] = "doc:go-to-line", ["ctrl+g"] = "doc:go-to-line",
["ctrl+s"] = "doc:save", ["ctrl+s"] = "doc:save",
["ctrl+shift+s"] = "doc:save-as", ["ctrl+shift+s"] = "doc:save-as",
@ -163,6 +163,10 @@ keymap.add {
["ctrl+]"] = "doc:move-to-next-block-end", ["ctrl+]"] = "doc:move-to-next-block-end",
["home"] = "doc:move-to-start-of-line", ["home"] = "doc:move-to-start-of-line",
["end"] = "doc:move-to-end-of-line", ["end"] = "doc:move-to-end-of-line",
["alt+right"] = "doc:move-to-end-of-line",
["alt+left"] = "doc:move-to-start-of-line",
["alt+up"] = "doc:move-to-previous-page",
["alt+down"] = "doc:move-to-next-page",
["ctrl+home"] = "doc:move-to-start-of-doc", ["ctrl+home"] = "doc:move-to-start-of-doc",
["ctrl+end"] = "doc:move-to-end-of-doc", ["ctrl+end"] = "doc:move-to-end-of-doc",
["pageup"] = "doc:move-to-previous-page", ["pageup"] = "doc:move-to-previous-page",

Loading…
Cancel
Save