diff --git a/README.md b/README.md index 5f8df6b..d1fed84 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ - https://github.com/nvim-telescope/telescope.nvim (fuzzy finder) - https://github.com/nvim-treesitter/nvim-treesitter (tree sitter plugin old) - https://github.com/nvim-neo-tree/neo-tree.nvim (map of filesystem) - +- https://github.com/christoomey/vim-tmux-navigator (tmux integration) #### Old plugins - https://github.com/catppuccin/nvim?tab=readme-ov-file (colour scheme) diff --git a/init.lua b/init.lua index fb46fef..cddcafc 100644 --- a/init.lua +++ b/init.lua @@ -41,7 +41,11 @@ vim.cmd.colorscheme "everforest" --require("catppuccin").setup(plugins, opts) -- color scheme -- --schemevim.cmd.colorscheme "catppuccin" -require('lualine').setup() -- bottom line +require('lualine').setup{ + options = { + globalstatus = true, + } +} -- bottom line -- Keypams -- diff --git a/lazy-lock.json b/lazy-lock.json index 0e6b39f..6a832f8 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -8,5 +8,6 @@ "nvim-treesitter": { "branch": "master", "commit": "3e10cffbb2a022cd8e2aaea9f4fffb514065e77c" }, "nvim-web-devicons": { "branch": "master", "commit": "b3468391470034353f0e5110c70babb5c62967d3" }, "plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" }, - "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" } + "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }, + "vim-tmux-navigator": { "branch": "master", "commit": "a26954a585b02a2ac02f87145e204f8798a7cbc2" } } \ No newline at end of file diff --git a/lua/plugins.lua b/lua/plugins.lua index 6e7aa67..148a5ab 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -19,4 +19,5 @@ return { {'nvim-lualine/lualine.nvim', -- bottom/status line dependencies = { 'nvim-tree/nvim-web-devicons' }} + } diff --git a/lua/vim-options.lua b/lua/vim-options.lua index 6396d94..26235ec 100644 --- a/lua/vim-options.lua +++ b/lua/vim-options.lua @@ -7,3 +7,12 @@ vim.opt.softtabstop = 4 vim.opt.shiftwidth = 4 vim.g.napleader = " " + +-- Navigate vim panels better tmux + +--vim.keymap.set('n', '', ':wincmd k') +--vim.keymap.set('n', '', ':wincmd j') +--vim.keymap.set('n', '', ':wincmd h') +--vim.keymap.set('n', '', ':wincmd l') + +