Skip to content

Commit d60b3f3

Browse files
committed
indentline plugin has been added to show lines...
- bufferline or tabs has been disabled for one opened file. - backspace key has been set to delete text in visual mode. - CTRL+Shift+q or CTRL+Q will used to quit all active tabs.
1 parent 28ff2e6 commit d60b3f3

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

lazy-lock.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
77
"everforest-nvim": { "branch": "main", "commit": "5e0e32a569fb464911342f0d421721cc1c94cf25" },
88
"friendly-snippets": { "branch": "main", "commit": "d1446afecd54d95b1214c6f5a032ad815fbc74d1" },
9+
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
910
"lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" },
1011
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
1112
"nvim-autopairs": { "branch": "master", "commit": "14e97371b2aab6ee70054c1070a123dfaa3e217e" },

lua/plugins/indentline.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
return {
2+
"lukas-reineke/indent-blankline.nvim",
3+
event = "CursorMoved",
4+
config = function()
5+
require("ibl").setup()
6+
end
7+
}

lua/user/keymaps.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ end
1212
nmap("f","zc")
1313
nmap("<C-e>","<Esc>:NvimTreeFindFile<CR>")
1414
nmap("<C-q>","<Esc>:q!<CR>")
15+
nmap("<C-Q>","<Esc>:qall!<CR>")
1516
imap("<C-q>","<Esc>:wq<CR>i")
1617
imap("<C-s>","<Esc>:w<CR>i")
1718
imap("<C-d>","<Esc>:t.<CR>i")
@@ -21,3 +22,5 @@ imap("<C-Up>","<Esc>:m-2<CR>gi")
2122
imap("<C-Down>","<Esc>:m+<CR>gi")
2223
imap("<C-c>","<Esc>yyi")
2324
imap("<C-v>","<Esc>pi")
25+
26+
vim.api.nvim_set_keymap('v', "<BS>", "d", { noremap = true, silent = true })

lua/user/options.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ vim.opt.swapfile = false
1515

1616
-- tabs and indents.
1717
vim.opt.tabstop = 2
18-
vim.opt.showtabline = 2 -- quick file tabs on the top.
18+
-- vim.opt.showtabline = 2 -- quick file tabs on the top.
1919
vim.opt.shiftwidth = 2
2020
vim.opt.expandtab = true
2121
vim.opt.smartindent = true

0 commit comments

Comments
 (0)