diff --git a/TODO b/TODO index b405164..2c658b7 100644 --- a/TODO +++ b/TODO @@ -5,7 +5,10 @@ [ ] add manpage [x] add desktop file [x] makefile: add install and uninstall +[ ] makefile fix permissions of installed data dir [ ] SDL: disable key not recognized messages +[ ] use system fonts +[ ] resize text on the fly [ ] add menu to exec arbitrary command [ ] that command can be what is selected [ ] add a cross to close tab @@ -21,7 +24,7 @@ [ ] ctrl+x == cut line || selection [ ] ctrl+c == copy line || selection [ ] ctrl+shift+o == change & open project folder -> core:open-project-module - [ ] ctrl+q == quit + [x] ctrl+q == quit [x] change alt+ to ctrl+ [ ] add multi cursor system [ ] add binding to open up a cheatsheet of keybinding, with a diff --git a/data/core/keymap.lua b/data/core/keymap.lua index a50570f..1ede11b 100644 --- a/data/core/keymap.lua +++ b/data/core/keymap.lua @@ -89,6 +89,7 @@ keymap.add { ["ctrl+o"] = "core:open-file", ["ctrl+n"] = "core:new-doc", ["alt+return"] = "core:toggle-fullscreen", + ["ctrl+q"] = "core:quit", ["alt+shift+j"] = "root:split-left", ["alt+shift+l"] = "root:split-right", diff --git a/makefile b/makefile index 6ca7289..88662c2 100644 --- a/makefile +++ b/makefile @@ -18,7 +18,7 @@ install: lite mkdir -p ${DESTDIR}${PREFIX}/share/lite cp -f lite ${DESTDIR}${PREFIX}/share/lite/lite chmod 755 ${DESTDIR}${PREFIX}/share/lite/lite - cp -rf data ${DESTDIR}${PREFIX}/share/lite/data + cp -rf data/. ${DESTDIR}${PREFIX}/share/lite/data mkdir -p ${DESTDIR}${PREFIX}/bin ln -sf ${DESTDIR}${PREFIX}/share/lite/lite ${DESTDIR}${PREFIX}/bin/lite # mkdir -p ${DESTDIR}${MANPREFIX}/man1 @@ -29,7 +29,7 @@ install: lite uninstall: rm -f ${DESTDIR}${PREFIX}/bin/lite \ - ${DESTDIR}&{PREFIX}/share/applications/lite.desktop \ + ${DESTDIR}${PREFIX}/share/applications/lite.desktop \ ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/lite.ico # ${DESTDIR}${MANPREFIX}/man1/us.1 rm -rf ${DESTDIR}${PREFIX}/share/lite