i3 fix and remove tabline in neovim
This commit is contained in:
parent
4cc9adffab
commit
b439b09556
4 changed files with 17 additions and 3 deletions
|
@ -9,7 +9,7 @@ exec --no-startup-id xinput set-prop "PIXA3854:00 093A:0274 Touchpad" "libinput
|
|||
exec feh --bg-fill /usr/share/backgrounds/lightdm.png
|
||||
|
||||
# Set xinput settings for touchpad
|
||||
exec xinput set-prop 11 306 1
|
||||
exec xinput set-prop 11 305 1
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
|
@ -200,6 +200,8 @@ default_border pixel 1
|
|||
default_floating_border none
|
||||
hide_edge_borders both
|
||||
|
||||
for_window [all] border pixel 1
|
||||
|
||||
# class border|backgr|text|indicator|child_border
|
||||
client.focused $green $green $darkgray $purple $darkgray
|
||||
client.focused_inactive $darkgray $darkgray $yellow $purple $darkgray
|
||||
|
|
12
dotfiles/nvim/ftplugin/tex.lua
Normal file
12
dotfiles/nvim/ftplugin/tex.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
vim.keymap.set('n', 'gB', ':!tectonic main.tex<CR>')
|
||||
|
||||
local function getWords()
|
||||
local words = vim.fn.wordcount().words
|
||||
return string.format("%d words", words)
|
||||
end
|
||||
|
||||
require('lualine').setup({
|
||||
sections = {
|
||||
lualine_y = { 'progress', getWords }
|
||||
}
|
||||
})
|
|
@ -9,5 +9,4 @@ require('mini.pairs').setup()
|
|||
require('mini.sessions').setup()
|
||||
require('mini.starter').setup()
|
||||
require('mini.surround').setup()
|
||||
require('mini.tabline').setup()
|
||||
require('mini.trailspace').setup()
|
||||
|
|
|
@ -7,6 +7,7 @@ vim.o.splitbelow = true
|
|||
vim.o.scrolloff = 10
|
||||
|
||||
vim.o.foldenable = false
|
||||
vim.api.nvim_set_var('tex_flavor', 'latex')
|
||||
|
||||
-- Tab Settings
|
||||
vim.o.tabstop = 4
|
||||
|
|
Loading…
Reference in a new issue