remove floating windows from neovim and set start tmux idx as 1 for keyboard comfort
This commit is contained in:
@@ -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/",
|
||||
|
||||
@@ -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/",
|
||||
|
||||
@@ -62,7 +62,7 @@ vim.cmd([[
|
||||
syntax on
|
||||
set notermguicolors
|
||||
set pumborder=rounded
|
||||
set winborder=rounded
|
||||
set winborder=none
|
||||
colorscheme default
|
||||
]])
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user