1
0
Fork 0

nvim: cosmetics; zsh: fix greset function

This commit is contained in:
Von Random 2023-02-04 14:51:00 +02:00
parent 5bb526a1a1
commit 7d3a85940c
2 changed files with 4 additions and 9 deletions

View file

@ -1,6 +1,3 @@
local fsize = '11'
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
vim.o.modeline = false
vim.o.foldmethod = 'marker'
vim.o.cursorline = true
@ -27,8 +24,6 @@ vim.o.keymap = 'russian-jcukenwintype'
vim.o.iminsert = 0
vim.o.imsearch = 0
vim.o.title = true
vim.o.titlestring = '[%{hostname()}] %t - neovim'
vim.o.statusline = '[%F] %R%H%W%M %=[%{&fenc}/%{&ff}] %y [%4l/%L:%3v]'
local fsize = '11'
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
vim.o.guifont = 'vcascadia:h' .. fsize

View file

@ -69,8 +69,8 @@ greset() {
echo "OK to reset and clean teh repo?"
read -sq _
(( $? )) && return 1
/usr/bin/git clean -fd
/usr/bin/git reset --hard
command git clean -fd
command git reset --hard
}
if testbin diff-so-fancy; then