Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(nano): add personal nano configs

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>

+77
+77
.nanorc
··· 1 + # User-wide nanorc based on my system-wide configs for stellapent-cier.tailnet 2 + # to make things portable as needed. 3 + 4 + # Display line numbers to the left (and any anchors in the margin). 5 + set linenumbers 6 + 7 + # Enable vim-style lock-files. This is just to let a vim user know you 8 + # are editing a file [s]he is trying to edit and vice versa. There are 9 + # no plans to implement vim-style undo state in these files. 10 + set locking 11 + 12 + # Display a "scrollbar" on the righthand side of the edit window. 13 + set indicator 14 + 15 + # This was set to 80 to match VS Code settings. 16 + set guidestripe 80 17 + 18 + ## Enable mouse support, if available for your system. When enabled, 19 + ## mouse clicks can be used to place the cursor, set the mark (with a 20 + ## double click), and execute shortcuts. The mouse will work in the 21 + ## X Window System, and on the console when gpm is running. 22 + set mouse 23 + 24 + # Switch on multiple file buffers (inserting a file will put it into a 25 + # separate buffer). 26 + set multibuffer 27 + 28 + ## Don't convert files from DOS/Mac format. 29 + set noconvert 30 + 31 + # Spread overlong lines over multiple screen lines. 32 + set softwrap 33 + 34 + ## Use this tab size instead of the default; it must be greater than 0. 35 + set tabsize 4 36 + 37 + ## Convert each typed tab to the fitting number of spaces. 38 + set tabstospaces 39 + 40 + ## Snip whitespace at the end of lines when justifying or hard-wrapping. 41 + # set trimblanks 42 + 43 + # import included syntax highlighting for nano 44 + include "/usr/share/nano/*.nanorc" 45 + 46 + # Make regularly-used features have more usual shortcuts 47 + bind ^X cut main 48 + bind ^C copy main 49 + bind ^V paste all 50 + bind ^Q exit all 51 + bind ^S savefile main 52 + #bind ^W writeout main 53 + #bind ^O insert main 54 + #set multibuffer 55 + #bind ^H help all 56 + #bind ^H exit help 57 + #bind ^F whereis all 58 + #bind ^G findnext all 59 + #bind ^B wherewas all 60 + #bind ^D findprevious all 61 + #bind ^R replace main 62 + #unbind ^U all 63 + #unbind ^N main 64 + #unbind ^Y all 65 + #unbind M-J main 66 + #unbind M-T main 67 + bind ^A mark main 68 + #bind ^P location main 69 + bind ^T gotoline main 70 + #bind ^T gotodir browser 71 + #bind ^T cutrestoffile execute 72 + #bind ^L linter execute 73 + #bind ^E execute main 74 + #bind ^K "{mark}{end}{zap}" main 75 + #bind ^U "{mark}{home}{zap}" main 76 + bind ^Z undo main 77 + bind ^Y redo main