Add settings for nvim gui and install telescope cder plugin
This commit is contained in:
parent
41fe472531
commit
b35110ba5a
|
@ -33,7 +33,7 @@ require('packer').startup(function()
|
|||
}
|
||||
|
||||
-- Startup screen/dashboard
|
||||
use 'glepnir/dashboard-nvim'
|
||||
--use 'glepnir/dashboard-nvim'
|
||||
|
||||
-- Git in signcolumn
|
||||
use 'airblade/vim-gitgutter'
|
||||
|
@ -69,7 +69,8 @@ require('packer').startup(function()
|
|||
requires = {
|
||||
{'nvim-lua/plenary.nvim'}, -- Internal dep for telescope
|
||||
{'nvim-telescope/telescope-fzf-native.nvim', run = 'make'}, -- Use fzf for fuzzy finder
|
||||
{'nvim-telescope/telescope-ui-select.nvim'} -- Replace vim built in select with telescope
|
||||
{'nvim-telescope/telescope-ui-select.nvim'}, -- Replace vim built in select with telescope
|
||||
{'zane-/cder.nvim'}, -- cd plugin for telescope
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ return function()
|
|||
|
||||
telescope.load_extension('fzf')
|
||||
telescope.load_extension('ui-select')
|
||||
telescope.load_extension('cder')
|
||||
|
||||
-- Keybinds
|
||||
vim.keymap.set('n', '<C-t>', vim.cmd.Telescope)
|
||||
|
|
|
@ -4,9 +4,16 @@ local g = vim.g
|
|||
-- True colors
|
||||
o.termguicolors = true
|
||||
|
||||
-- Font for nvim GUI's
|
||||
o.guifont = 'Fira Code:h14'
|
||||
|
||||
-- Floating window transparency
|
||||
o.winblend = 10
|
||||
|
||||
-- Set window title
|
||||
o.title = true
|
||||
o.titlestring = 'NeoVim: ' .. vim.fn.getcwd()
|
||||
|
||||
-- Diff settings
|
||||
o.diffopt = 'filler,internal,algorithm:histogram,indent-heuristic'
|
||||
|
||||
|
|
|
@ -64,6 +64,9 @@ export MANPAGER="$EDITOR +\"lua require 'pager'\" +Man!"
|
|||
export SYSTEMD_EDITOR=$EDITOR
|
||||
export SYSTEMD_PAGER=less
|
||||
|
||||
# Enable multigrid for neovide
|
||||
export NEOVIDE_MULTIGRID=1
|
||||
|
||||
{%@@ if distro_id == "arch" or distro_id == "ubuntu" @@%}
|
||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
|
|
Loading…
Reference in a new issue