fix default tiled layout for single screen and scrollof for vim
This commit is contained in:
parent
8f3c618b32
commit
25b1386c6a
2 changed files with 3 additions and 3 deletions
4
rc.lua
4
rc.lua
|
@ -180,9 +180,9 @@ for s = 1, screen.count() do
|
|||
-- Set default tiled layout for all the screens
|
||||
-- if s == 1 and screen.count() ~= 1 then -- in case I ever want to have default for less than 2 screens
|
||||
if s == 1 then
|
||||
default_tiled = layouts.tiled[3]
|
||||
else
|
||||
default_tiled = layouts.tiled[1]
|
||||
else
|
||||
default_tiled = layouts.tiled[3]
|
||||
end
|
||||
for tag = 1, 9 do
|
||||
local name = tags[s].name[tag] or tostring(tag)
|
||||
|
|
2
vimrc
2
vimrc
|
@ -16,7 +16,7 @@ set smartcase
|
|||
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
||||
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
||||
" scroll before reaching the first / final line
|
||||
set scrolloff=8
|
||||
set scrolloff=3
|
||||
set sidescrolloff=15
|
||||
set sidescroll=1
|
||||
" disable bell
|
||||
|
|
Loading…
Reference in a new issue