feat: status line and fix fzf binding
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
lua require('config.init')
|
||||
lua require('status-line')
|
||||
|
||||
" vim.fn.stdpath("data")
|
||||
"lua require('plugins')
|
||||
@@ -28,7 +29,7 @@ call matchadd('ColorColumn', '\%81v', 100)
|
||||
" Find files and tab autocomplete
|
||||
set path+=**
|
||||
set wildmenu
|
||||
nnoremap <leader>fi :find<Space>
|
||||
"nnoremap <leader>fi :find<Space>
|
||||
|
||||
autocmd TermOpen * setlocal nonumber
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ local function statusline()
|
||||
local align_right = "%="
|
||||
local fileencoding = " %{&fileencoding?&fileencoding:&encoding}"
|
||||
local fileformat = "[%{&fileformat}]"
|
||||
local percentage = " %p%%"
|
||||
local linecol = "%l/%L:%c"
|
||||
local percentage = "|%p%%"
|
||||
|
||||
if branch then
|
||||
return string.format(
|
||||
@@ -31,7 +31,7 @@ local function statusline()
|
||||
modified,
|
||||
align_right,
|
||||
fileencoding,
|
||||
filetype,
|
||||
-- filetype,
|
||||
fileformat,
|
||||
linecol,
|
||||
percentage
|
||||
@@ -44,7 +44,7 @@ local function statusline()
|
||||
modified,
|
||||
align_right,
|
||||
fileencoding,
|
||||
filetype,
|
||||
-- filetype,
|
||||
fileformat,
|
||||
linecol,
|
||||
percentage
|
||||
Reference in New Issue
Block a user