Compare commits
3 Commits
3b9953f2dc
...
7df97df090
Author | SHA1 | Date | |
---|---|---|---|
7df97df090 | |||
52770b9850 | |||
c723a3cac9 |
@ -31,3 +31,12 @@ function xx; $EDITOR ~/dox/not/xx.tsv; end
|
|||||||
function dr; $EDITOR ~/dox/not/dr.txt; end
|
function dr; $EDITOR ~/dox/not/dr.txt; end
|
||||||
function bk; $EDITOR ~/dox/not/bk.txt; end
|
function bk; $EDITOR ~/dox/not/bk.txt; end
|
||||||
function rem; $EDITOR ~/dox/not/rem; end
|
function rem; $EDITOR ~/dox/not/rem; end
|
||||||
|
|
||||||
|
# music recognition
|
||||||
|
function musrec
|
||||||
|
# if file exists
|
||||||
|
if test -e $argv
|
||||||
|
# recognize it
|
||||||
|
http --form POST "https://api.audd.io?api_token=$(cat ~/.config/audd_token)" file@$argv
|
||||||
|
end
|
||||||
|
end
|
||||||
|
@ -1,7 +1,22 @@
|
|||||||
set tabstop=4 shiftwidth=4 noexpandtab relativenumber ai nu rnu nosmd ignorecase smartcase
|
set tabstop=4 shiftwidth=4 noexpandtab ai nosmd ignorecase smartcase
|
||||||
|
|
||||||
|
" sign column on top of the line number (gutter for things like breakpoints, warnings)
|
||||||
|
set scl=number
|
||||||
|
|
||||||
|
" enable line numbers
|
||||||
|
set number relativenumber
|
||||||
|
|
||||||
|
" disable bottom right status line
|
||||||
|
set noruler
|
||||||
set showtabline=0
|
set showtabline=0
|
||||||
|
|
||||||
|
" performance?
|
||||||
set lazyredraw nocursorline ttyfast
|
set lazyredraw nocursorline ttyfast
|
||||||
|
|
||||||
|
" use system clipboard instead of internal
|
||||||
set clipboard=unnamedplus
|
set clipboard=unnamedplus
|
||||||
|
" when using c, do not overwrite clipboard
|
||||||
|
nnoremap c "-c
|
||||||
|
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
||||||
|
@ -90,6 +90,18 @@ require('dressing').setup({
|
|||||||
-- fancy motions (leap.nvim)
|
-- fancy motions (leap.nvim)
|
||||||
vim.keymap.set({'n', 'x', 'o'}, 'f', '<Plug>(leap-forward-to)')
|
vim.keymap.set({'n', 'x', 'o'}, 'f', '<Plug>(leap-forward-to)')
|
||||||
vim.keymap.set({'n', 'x', 'o'}, 'F', '<Plug>(leap-backward-to)')
|
vim.keymap.set({'n', 'x', 'o'}, 'F', '<Plug>(leap-backward-to)')
|
||||||
|
vim.keymap.set(
|
||||||
|
{'n', 'x', 'o'}, 't',
|
||||||
|
function ()
|
||||||
|
require("leap").leap { offset = 2 }
|
||||||
|
end
|
||||||
|
)
|
||||||
|
vim.keymap.set(
|
||||||
|
{'n', 'x', 'o'}, 'T',
|
||||||
|
function ()
|
||||||
|
require("leap").leap { backward = true, offset = 2 }
|
||||||
|
end
|
||||||
|
)
|
||||||
require('leap').opts.safe_labels = {
|
require('leap').opts.safe_labels = {
|
||||||
"a", "s", "d", "f", "g", "h", "j", "k", "l"
|
"a", "s", "d", "f", "g", "h", "j", "k", "l"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user