]> git.wh0rd.org - home.git/blobdiff - .nanorc
nanorc: update configs for newer versions
[home.git] / .nanorc
diff --git a/.nanorc b/.nanorc
index 9846a3c9cc86796e362123807285cc922a6e77ba..185e6b7998840826905067947824b5819c36e57f 100644 (file)
--- a/.nanorc
+++ b/.nanorc
@@ -1,6 +1,12 @@
-set const
+set atblanks
+set autoindent
+unset backup
+set constantshow
 set fill -2
 set historylog
+#set linenumbers
+unset locking
+set positionlog
 set morespace
 set multibuffer
 set noconvert
@@ -11,6 +17,21 @@ set smarthome
 set smooth
 set suspend
 set tabsize 4
-#set whitespace "»·"
 set whitespace "»·"
 set speller "aspell -x -c"
+
+# Disable justify logic.
+unbind ^J all
+unbind M-J all
+unbind F4 all
+# Disable various UI interactions.
+unbind M-X all # help mode
+#unbind M-C all # constant cursor
+unbind M-O all # use one more line for editing
+unbind M-H all # smart home
+unbind M-I all # auto indent
+unbind M-Q all # tab/space conversion
+unbind M-M all # mouse
+
+bind M-i autoindent all
+bind M-d cutwordright all