2023.10.6
Done on a MacBook Pro (Apple Silicon). This worked for me, your mileage may vary.
2023.10.6
Done on a MacBook Pro (Apple Silicon). This worked for me, your mileage may vary.
| @font-face { | |
| font-family: "Sauce Code Pro"; | |
| font-style: normal; | |
| font-weight: 200; | |
| src: url(https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/SourceCodePro/Light/complete/Sauce%20Code%20Pro%20Light%20Nerd%20Font%20Complete.ttf?raw=true); | |
| } | |
| @font-face { | |
| font-family: "Sauce Code Pro"; | |
| font-style: normal; |
| " Rudimentary vimscript to use ranger as a file/directory picker | |
| " Nelson Uhan | |
| " 2018.9.9 | |
| " | |
| " Uses Vim 8's terminal to open ranger in a new window | |
| " Tested on MacVim 8.1.120, GUI and terminal versions | |
| " | |
| " Put this in your .vimrc (or equivalent) | |
| " :RangerFiles opens ranger as a file picker in a new window | |
| " :RangerDirs opens ranger as a directory picker in a new window |
| -- Quick-and-dirty QuickCursor replacement | |
| -- Inspired by https://github.com/tjluoma/edit-anywhere | |
| function quickcursor() | |
| -- Get active application and window | |
| local window = hs.window.focusedWindow() | |
| local app = window:application() | |
| -- Check to see if we're in a valid text field | |
| -- (1) App is not invalid, (2) Paste is enabled | |
| -- If not, stop |