1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Vivianne c5f70a427a Some tweaks to get things working better. 2022-03-08 01:50:04 -08:00
Vivianne e4db099eaa Add bbye and update config for neovide. 2022-03-08 01:33:07 -08:00
2 changed files with 20 additions and 5 deletions

View File

@ -55,10 +55,16 @@ augroup telescope
autocmd QuickFixCmdPost qf :Telescope quickfix<CR>
augroup end
if exists('g:fvim_loaded')
nnoremap <silent> <C-ScrollWheelUp> :set guifont=+<CR>
nnoremap <silent> <C-ScrollWheelDown> :set guifont=-<CR>
if exists('g:neovide')
" For some reason the scaling is off?
set guifont=JetBrains\ Mono:h10.5
let g:neovide_transparency = 0.90
let g:neovide_refresh_rate = 60
let g:neovide_cursor_vfx_mode = "pixiedust"
endif
if exists('g:fvim_loaded')
set guifont=JetBrains\ Mono:h12.5
FVimCursorSmoothMove v:true
FVimCursorSmoothBlink v:true
@ -69,7 +75,8 @@ if exists('g:fvim_loaded')
FVimFontLigature v:true
set guifont=JetBrains\ Mono:h12.5
nnoremap <silent> <C-ScrollWheelUp> :set guifont=+<CR>
nnoremap <silent> <C-ScrollWheelDown> :set guifont=-<CR>
endif
nnoremap <leader><leader> :NvimTreeToggle<CR>
@ -93,7 +100,7 @@ nnoremap <leader>fs <cmd>Telescope search_history<cr>
command CDC cd %:p:h
let g:lt_location_list_toggle_map = '<leader>l'
let g:lt_quickfix_list_toggle_map = '<leader>q'
let g:lt_quickfix_list_toggle_map = '<leader>L' " unsure if I'm using this
" machine-specific settings
source $CONFIG/local.vim

View File

@ -4,6 +4,7 @@ if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
-- TODO: Add in downloading of sqlite dll for Windows, here.
-- TODO: It seems sqlite needs installing or configuring on gentoo as well.
end
lsp_client_capabilities = vim.lsp.protocol.make_client_capabilities()
@ -214,6 +215,13 @@ return require('packer').startup(function(use)
return vim.fn.has('win32') == 0
end
}
use 'khaveesh/vim-fish-syntax'
use {
'moll/vim-bbye',
config = function()
vim.api.nvim_set_keymap('n', '<leader>q', "<cmd>:Bdelete<CR>", {noremap=true})
end
}
end)