Compare commits

..

6 Commits

3 changed files with 23 additions and 11 deletions

View File

@@ -60,9 +60,17 @@ require('packer').startup(function(use)
-- Fuzzy Finder Algorithm which requires local dependencies to be built. Only load if `make` is available
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make', cond = vim.fn.executable 'make' == 1 }
-- Tree file explorer pacakge: https://github.com/nvim-tree/nvim-tree.lua
use {
'nvim-tree/nvim-tree.lua',
requires = {
'nvim-tree/nvim-web-devicons', -- optional, for file icons
},
tag = 'nightly' -- optional, updated every week. (see issue #1193)
}
-- nvim tree package: https://github.com/romgrk/barbar.nvim
use 'nvim-tree/nvim-web-devicons'
use {'romgrk/barbar.nvim', wants = 'nvim-web-devicons'}
use {'romgrk/barbar.nvim'}
-- Custom color schema
use { 'bluz71/vim-moonfly-colors', branch = 'cterm-compat' }
@@ -363,6 +371,9 @@ require('nvim-treesitter.configs').setup {
},
}
-- Empty nvim-tree setup using defaults
require("nvim-tree").setup()
-- Diagnostic keymaps
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
vim.keymap.set('n', ']d', vim.diagnostic.goto_next)

View File

@@ -1,13 +1,14 @@
# remap previx from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# remap previx from 'C-b' to 'F10' and should
# map caps-lock to F10
unbind-key C-b
set-option -g prefix F10
bind-key F10 send-prefix
# Remove delay
set -s escape-time 1
# scroll window buffer history, not commands history
set -g mouse on
set -g default-terminal "xterm-256color"