mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "7d4c797bfac081bd44ad07df2af6a733384cf54a" and "cdccc1f0d39613a574bd97eecc9dbed79450befe" have entirely different histories.
7d4c797bfa
...
cdccc1f0d3
3 changed files with 9 additions and 22 deletions
|
@ -27,7 +27,6 @@
|
|||
fzf
|
||||
gh
|
||||
git
|
||||
git-crypt
|
||||
gitui
|
||||
gnupg
|
||||
jq
|
||||
|
@ -54,7 +53,6 @@
|
|||
dotnet-sdk
|
||||
go
|
||||
jdk
|
||||
nil
|
||||
nodejs-19_x
|
||||
ruby_3_1
|
||||
shards
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
local ok, barbar = pcall(require, 'barbar')
|
||||
if not ok then return end;
|
||||
|
||||
barbar.setup {
|
||||
icons = {
|
||||
buffer_index = true,
|
||||
filetype = {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
local map = vim.api.nvim_set_keymap
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
-- Navigating buffers
|
||||
map('n', '<A-,>', '<Cmd>BufferPrevious<CR>', opts)
|
||||
map('n', '<A-.>', '<Cmd>BufferNext<CR>', opts)
|
||||
map('n', '<A-s>', '<Cmd>BufferPick<CR>', opts)
|
||||
map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)
|
9
nvim/plugin/barbar.vim
Normal file
9
nvim/plugin/barbar.vim
Normal file
|
@ -0,0 +1,9 @@
|
|||
let bufferline = get(g:, 'bufferline', {})
|
||||
let bufferline.icons = 'both'
|
||||
|
||||
" Navigating buffers
|
||||
nnoremap <silent> <A-,> :BufferPrevious<CR>
|
||||
nnoremap <silent> <A-.> :BufferNext<CR>
|
||||
nnoremap <silent> <A-s> :BufferPick<CR>
|
||||
|
||||
nnoremap <silent> <A-c> :BufferClose<CR>
|
Loading…
Add table
Add a link
Reference in a new issue