fix uninstall error
quit with ctrl+q
master
Alessandro Mauri 3 years ago
parent 52650661ec
commit 74e7f3f714
  1. 5
      TODO
  2. 1
      data/core/keymap.lua
  3. 4
      makefile

@ -5,7 +5,10 @@
[ ] add manpage [ ] add manpage
[x] add desktop file [x] add desktop file
[x] makefile: add install and uninstall [x] makefile: add install and uninstall
[ ] makefile fix permissions of installed data dir
[ ] SDL: disable key not recognized messages [ ] SDL: disable key not recognized messages
[ ] use system fonts
[ ] resize text on the fly
[ ] add menu to exec arbitrary command [ ] add menu to exec arbitrary command
[ ] that command can be what is selected [ ] that command can be what is selected
[ ] add a cross to close tab [ ] add a cross to close tab
@ -21,7 +24,7 @@
[ ] 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
[ ] ctrl+q == quit [x] ctrl+q == quit
[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

@ -89,6 +89,7 @@ keymap.add {
["ctrl+o"] = "core:open-file", ["ctrl+o"] = "core:open-file",
["ctrl+n"] = "core:new-doc", ["ctrl+n"] = "core:new-doc",
["alt+return"] = "core:toggle-fullscreen", ["alt+return"] = "core:toggle-fullscreen",
["ctrl+q"] = "core:quit",
["alt+shift+j"] = "root:split-left", ["alt+shift+j"] = "root:split-left",
["alt+shift+l"] = "root:split-right", ["alt+shift+l"] = "root:split-right",

@ -18,7 +18,7 @@ install: lite
mkdir -p ${DESTDIR}${PREFIX}/share/lite mkdir -p ${DESTDIR}${PREFIX}/share/lite
cp -f lite ${DESTDIR}${PREFIX}/share/lite/lite cp -f lite ${DESTDIR}${PREFIX}/share/lite/lite
chmod 755 ${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 mkdir -p ${DESTDIR}${PREFIX}/bin
ln -sf ${DESTDIR}${PREFIX}/share/lite/lite ${DESTDIR}${PREFIX}/bin/lite ln -sf ${DESTDIR}${PREFIX}/share/lite/lite ${DESTDIR}${PREFIX}/bin/lite
# mkdir -p ${DESTDIR}${MANPREFIX}/man1 # mkdir -p ${DESTDIR}${MANPREFIX}/man1
@ -29,7 +29,7 @@ install: lite
uninstall: uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/lite \ 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}${PREFIX}/share/icons/hicolor/scalable/apps/lite.ico
# ${DESTDIR}${MANPREFIX}/man1/us.1 # ${DESTDIR}${MANPREFIX}/man1/us.1
rm -rf ${DESTDIR}${PREFIX}/share/lite rm -rf ${DESTDIR}${PREFIX}/share/lite

Loading…
Cancel
Save