diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-02 17:17:56 +0100 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-02 17:17:56 +0100 |
commit | e1b6d486dbde35f4377a077babfac9236c8a446f (patch) | |
tree | 0ab5bb6439322bcfa4d87c73ede67cc125c1479b /Common/nvim/lua/plugins.lua | |
parent | 23bd6ccdd2c7e32be30cfd172c0c769755b53884 (diff) | |
download | dotfiles-e1b6d486dbde35f4377a077babfac9236c8a446f.tar.gz dotfiles-e1b6d486dbde35f4377a077babfac9236c8a446f.zip |
neovim and waybar things
Diffstat (limited to 'Common/nvim/lua/plugins.lua')
-rwxr-xr-x | Common/nvim/lua/plugins.lua | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua index d9ae65f..65b7d05 100755 --- a/Common/nvim/lua/plugins.lua +++ b/Common/nvim/lua/plugins.lua @@ -76,14 +76,17 @@ return require('packer').startup(function(use) -- fzf (Fuzzy finder for various things) use { 'junegunn/fzf.vim', - requires = { 'kyazdani42/nvim-web-devicons' }, + requires = { 'junegunn/fzf', 'kyazdani42/nvim-web-devicons' }, config = function() vim.cmd [[ let g:fzf_layout = { 'down': '40%' } + autocmd! FileType fzf + autocmd FileType fzf set laststatus=0 noshowmode noruler + \| autocmd BufLeave <buffer> set laststatus=2 showmode ruler ]] map("n", ";", ":Files<cr>", silentnoremap) map("n", "<leader>;", ":Rg<cr>", silentnoremap) - map("n", "<leader><leader>;", ":BLines<cr>", silentnoremap) + map("n", "<leader><leader>;", ":Lines<cr>", silentnoremap) end, } @@ -180,10 +183,10 @@ return require('packer').startup(function(use) }, }, { - path = '~/Nextcloud/wiki/M42', + path = '~/Nextcloud/1-Prosjekter/101-masteroppgave/101.02-quick-notes', syntax = 'markdown', ext = 'md', - name = 'M42', + name = 'P101', auto_toc = 1, nested_syntaxes = { python = 'python', @@ -191,7 +194,7 @@ return require('packer').startup(function(use) }, }, { - path = '~/Nextcloud/wiki/P01/', + path = '~/Nextcloud/', syntax = 'markdown', ext = 'md', name = 'P01', |