created a tokyo night theme for hyprland
This commit is contained in:
@@ -1,21 +1,27 @@
|
||||
local global = vim.g
|
||||
local o = vim.opt
|
||||
|
||||
-- Basic settings
|
||||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.tabstop = 2
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.expandtab = true
|
||||
vim.o.smartindent = true
|
||||
vim.o.wrap = false
|
||||
vim.o.cursorline = true
|
||||
vim.o.termguicolors = true
|
||||
vim.o.ruler = true
|
||||
vim.o.visualbell = true
|
||||
vim.o.modelines = 0
|
||||
vim.o.colorcolumn = '+1,100,120'
|
||||
vim.o.hidden = true
|
||||
vim.o.showmode = true
|
||||
-- Editor options
|
||||
|
||||
-- Syntax highlighting and filetype plugins
|
||||
vim.cmd('syntax enable')
|
||||
vim.cmd('filetype plugin indent on')
|
||||
o.number = true -- Print the line number in front of each line
|
||||
o.relativenumber = true -- Show the line number relative to the line with the cursor in front of each line.
|
||||
o.clipboard = "unnamedplus" -- uses the clipboard register for all operations except yank.
|
||||
o.syntax = "on" -- When this option is set, the syntax with this name is loaded.
|
||||
o.autoindent = true -- Copy indent from current line when starting a new line.
|
||||
o.cursorline = true -- Highlight the screen line of the cursor with CursorLine.
|
||||
o.expandtab = true -- In Insert mode: Use the appropriate number of spaces to insert a <Tab>.
|
||||
o.shiftwidth = 2 -- Number of spaces to use for each step of (auto)indent.
|
||||
o.tabstop = 2 -- Number of spaces that a <Tab> in the file counts for.
|
||||
o.encoding = "UTF-8" -- Sets the character encoding used inside Vim.
|
||||
o.ruler = true -- Show the line and column number of the cursor position, separated by a comma.
|
||||
o.mouse = "a" -- Enable the use of the mouse. "a" you can use on all modes
|
||||
o.title = true -- When on, the title of the window will be set to the value of 'titlestring'
|
||||
o.hidden = true -- When on a buffer becomes hidden when it is |abandon|ed
|
||||
o.ttimeoutlen = 0 -- The time in milliseconds that is waited for a key code or mapped key sequence to complete.
|
||||
o.wildmenu = true -- When 'wildmenu' is on, command-line completion operates in an enhanced mode.
|
||||
o.showcmd = true -- Show (partial) command in the last line of the screen. Set this option off if your terminal is slow.
|
||||
o.showmatch = true -- When a bracket is inserted, briefly jump to the matching one.
|
||||
o.inccommand = "split" -- When nonempty, shows the effects of :substitute, :smagic, :snomagic and user commands with the :command-preview flag as you type.
|
||||
o.splitright = true
|
||||
o.splitbelow = true -- When on, splitting a window will put the new window below the current one
|
||||
o.termguicolors = true
|
||||
|
||||
Reference in New Issue
Block a user