You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opt.wildmenu=true-- make tab completion for files/buffers act like bash
49
+
opt.wildmenu=true-- make tab completion for files/buffers act like bash
50
50
51
51
-- ui
52
52
opt.cursorline=true-- highlight the current line
53
-
opt.laststatus=2-- only the last window will always have a status line
53
+
opt.laststatus=2-- only the last window will always have a status line
54
54
opt.lazyredraw=true-- don"t update the display while executing macros
55
55
opt.list=true
56
56
-- You can also add "space" or "eol", but I feel it"s quite annoying
57
57
opt.listchars= {
58
-
tab="┊ ",
59
-
trail="·",
60
-
extends="»",
61
-
precedes="«",
62
-
nbsp="×"
58
+
tab="┊ ",
59
+
trail="·",
60
+
extends="»",
61
+
precedes="«",
62
+
nbsp="×",
63
63
}
64
64
65
65
-- Hide cmd line
66
-
opt.cmdheight=0-- more space in the neovim command line for displaying messages
66
+
opt.cmdheight=0-- more space in the neovim command line for displaying messages
67
67
68
-
opt.mouse="a" -- allow the mouse to be used in neovim
69
-
opt.number=true-- set numbered lines
70
-
opt.scrolloff=18-- minimal number of screen lines to keep above and below the cursor
71
-
opt.sidescrolloff=3-- minimal number of screen columns to keep to the left and right (horizontal) of the cursor if wrap is `false`
68
+
opt.mouse="a" -- allow the mouse to be used in neovim
69
+
opt.number=true-- set numbered lines
70
+
opt.scrolloff=18-- minimal number of screen lines to keep above and below the cursor
71
+
opt.sidescrolloff=3-- minimal number of screen columns to keep to the left and right (horizontal) of the cursor if wrap is `false`
72
72
opt.signcolumn="yes" -- always show the sign column, otherwise it would shift the text each time
73
-
opt.splitbelow=true-- open new split below
74
-
opt.splitright=true-- open new split to the right
75
-
opt.wrap=true-- display a wrapped line
73
+
opt.splitbelow=true-- open new split below
74
+
opt.splitright=true-- open new split to the right
75
+
opt.wrap=true-- display a wrapped line
76
76
77
77
-- backups
78
-
opt.backup=false-- create a backup file
79
-
opt.swapfile=false-- creates a swapfile
78
+
opt.backup=false-- create a backup file
79
+
opt.swapfile=false-- creates a swapfile
80
80
opt.writebackup=false-- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
81
81
82
82
-- autocomplete
83
83
opt.completeopt= { "menu", "menuone", "noselect" } -- mostly just for cmp
84
84
opt.shortmess=opt.shortmess+ {
85
-
c=true
85
+
c=true,
86
86
} -- hide all the completion messages, e.g. "-- XXX completion (YYY)", "match 1 of 2", "The only match", "Pattern not found"
87
87
88
88
-- By the way, -- INSERT -- is unnecessary anymore because the mode information is displayed in the statusline.
89
89
opt.showmode=false
90
90
91
91
-- perfomance
92
92
-- remember N lines in history
93
-
opt.history=100-- keep 100 lines of history
93
+
opt.history=100-- keep 100 lines of history
94
94
opt.redrawtime=1500
95
95
opt.timeoutlen=250-- time to wait for a mapped sequence to complete (in milliseconds)
0 commit comments