diff --git a/nvim-termux/.config/nvim/lua/plugins.lua b/nvim-termux/.config/nvim/lua/plugins.lua index 863927a..1b602a7 100644 --- a/nvim-termux/.config/nvim/lua/plugins.lua +++ b/nvim-termux/.config/nvim/lua/plugins.lua @@ -72,8 +72,9 @@ require('lazy').setup({ require('nnn').setup({ picker = { cmd = "nnn -C", - style = { border = "rounded" }, - fullscreen = false, + -- Fill the editor even when opening from an existing file or split. + style = { width = 1, height = 1, xoffset = 0, yoffset = 0, border = "none" }, + fullscreen = true, }, }) local function tree_on_attach(bufnr) @@ -97,6 +98,12 @@ require('nvim-tree').setup({ }) require('telescope').setup({ defaults = { + layout_strategy = "horizontal", + layout_config = { + width = function(_, columns) return columns end, + height = function(_, _, lines) return lines end, + }, + border = false, file_ignore_patterns = { "%.git/", "node_modules/", diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 0d01e93..45fd130 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -152,8 +152,9 @@ require('lazy').setup({ require('nnn').setup({ picker = { cmd = "nnn -C", - style = { border = "rounded" }, - fullscreen = false, + -- Fill the editor even when opening from an existing file or split. + style = { width = 1, height = 1, xoffset = 0, yoffset = 0, border = "none" }, + fullscreen = true, }, }) local function tree_on_attach(bufnr) @@ -180,6 +181,12 @@ require('nvim-tree').setup({ }) require('telescope').setup({ defaults = { + layout_strategy = "horizontal", + layout_config = { + width = function(_, columns) return columns end, + height = function(_, _, lines) return lines end, + }, + border = false, file_ignore_patterns = { "%.git/", "node_modules/", diff --git a/nvim/.config/nvim/lua/settings.lua b/nvim/.config/nvim/lua/settings.lua index 0a952a3..458ff98 100644 --- a/nvim/.config/nvim/lua/settings.lua +++ b/nvim/.config/nvim/lua/settings.lua @@ -62,7 +62,7 @@ vim.cmd([[ syntax on set notermguicolors set pumborder=rounded - set winborder=rounded + set winborder=none colorscheme default ]]) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e09b774..19507a7 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -3,6 +3,9 @@ set-option -g status-style bg=default bind s choose-tree -Zs -O name set-option -g status-position top +# Number windows from 1 and close gaps when windows are removed +set -g base-index 1 + # Enable mouse set -g mouse on