commented relative number setting and changed bookmark icon

This commit is contained in:
ashincoder 2021-06-16 06:20:47 +05:30
parent 9aea4d08e5
commit c3a447a471
2 changed files with 6 additions and 2 deletions

View file

@ -23,6 +23,6 @@ g.dashboard_custom_section = {
b = {description = {" Recents SPC f o"}, command = "Telescope oldfiles"}, b = {description = {" Recents SPC f o"}, command = "Telescope oldfiles"},
c = {description = {" Find Word SPC f w"}, command = "Telescope live_grep"}, c = {description = {" Find Word SPC f w"}, command = "Telescope live_grep"},
d = {description = {"洛 New File SPC f n"}, command = "DashboardNewFile"}, d = {description = {"洛 New File SPC f n"}, command = "DashboardNewFile"},
e = {description = {"󰓏 Bookmarks SPC b m"}, command = "Telescope marks"}, e = {description = {" Bookmarks SPC b m"}, command = "Telescope marks"},
f = {description = {" Load Last Session SPC s l"}, command = "SessionLoad"} f = {description = {" Load Last Session SPC s l"}, command = "SessionLoad"}
} }

View file

@ -25,12 +25,16 @@ opt("o", "updatetime", 250) -- update interval for gitsigns
opt("o", "clipboard", "unnamedplus") opt("o", "clipboard", "unnamedplus")
opt("o", "timeoutlen", 500) opt("o", "timeoutlen", 500)
-- Numbers
opt("w", "number", true)
opt("o", "numberwidth", 2)
-- opt("w", "relativenumber", true)
-- for indenline -- for indenline
opt("b", "expandtab", true) opt("b", "expandtab", true)
opt("b", "shiftwidth", 2) opt("b", "shiftwidth", 2)
opt("b", "smartindent", true) opt("b", "smartindent", true)
local M = {} local M = {}
function M.is_buffer_empty() function M.is_buffer_empty()