Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
94d9b40acb |
4 changed files with 14 additions and 33 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -100,13 +100,13 @@
|
|||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 315532800,
|
||||
"narHash": "sha256-JiTUXdoNJNvdD+fjVlftWiLKJfHut3cIi8j2HXL9kT4=",
|
||||
"narHash": "sha256-17eNBI5Khe4JZaRkL5hRGPWf8MZ6qv+bWAr4V8YeKBw=",
|
||||
"type": "tarball",
|
||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst"
|
||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst"
|
||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
import-tree.url = "github:vic/import-tree";
|
||||
nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
|
||||
nixpkgs-lib.follows = "nixpkgs-unstable";
|
||||
nixpkgs-unstable.url = "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst";
|
||||
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
|
||||
xcursor-plan9 = {
|
||||
url = "github:wintermute-cell/xcursor-plan9";
|
||||
flake = false;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@
|
|||
in {
|
||||
flake-file.inputs = {
|
||||
nixpkgs.url = "https://channels.nixos.org/nixos-${systemConstants.nixpkgsStableVersion}/nixexprs.tar.zst";
|
||||
# last updated: 2026-11-06 11:00 UTC
|
||||
nixpkgs-unstable.url = "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst";
|
||||
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
|
||||
nixpkgs-lib.follows = "nixpkgs-unstable";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
package = pkgs.unstable.nano;
|
||||
syntaxHighlight = true;
|
||||
nanorc = ''
|
||||
# nano preferences (alphabetical)
|
||||
set atblanks
|
||||
set autoindent
|
||||
set casesensitive
|
||||
|
|
@ -14,51 +13,34 @@
|
|||
set jumpyscrolling
|
||||
set keycolor normal,normal
|
||||
set minibar
|
||||
set minicolor normal,lightblack
|
||||
set mouse
|
||||
set newbuffer
|
||||
set nohelp
|
||||
set numbercolor italic,lightblack,normal
|
||||
set promptcolor black,lightyellow
|
||||
set stateflags
|
||||
set smarthome
|
||||
set softwrap
|
||||
set tabsize 4
|
||||
set tabstospaces
|
||||
set trimblanks
|
||||
# search keybinds: editor
|
||||
|
||||
bind M-F nextword main
|
||||
bind M-B prevword main
|
||||
|
||||
unbind ^S main
|
||||
bind ^S whereis main
|
||||
bind Sh-M-F findnext main
|
||||
bind Sh-M-B findprevious main
|
||||
# search keybinds: file browser
|
||||
unbind ^S browser
|
||||
bind ^S whereis browser
|
||||
bind Sh-M-F findnext browser
|
||||
bind Sh-M-B findprevious browser
|
||||
# text copying (killing) from editor
|
||||
unbind M-K main
|
||||
bind M-K copy main
|
||||
bind Sh-M-K cutfromcursor main
|
||||
# copy from editor into system (Wayland) clipboard
|
||||
bind Sh-M-C "{execute}| wl-copy > /dev/null 2>&1 {enter}{exit}n" main
|
||||
# insert lambda into editor
|
||||
unbind ^\ main
|
||||
bind ^\ "λ" main
|
||||
# center/raise/lower cursor position in editor
|
||||
unbind ^L main
|
||||
bind ^L cycle main
|
||||
# editor cursor navigation by word boundaries (a la Emacs)
|
||||
bind M-F nextword main
|
||||
bind M-B prevword main
|
||||
# editor cursor navigation horizontally
|
||||
|
||||
bind Sh-M-C "{execute}| wl-copy > /dev/null 2>&1 {enter}{undo}" main
|
||||
|
||||
bind ^F forward main
|
||||
bind ^B back main
|
||||
bind ^F forward browser
|
||||
bind ^B back browser
|
||||
# editor buffer navigation
|
||||
bind M-< prevbuf main
|
||||
bind M-> nextbuf main
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue