Compare commits
3 commits
21e9dfa8b0
...
5e5dd9e4d2
Author | SHA1 | Date | |
---|---|---|---|
5e5dd9e4d2 | |||
b23fd9b050 | |||
23b07f56d9 |
2 changed files with 9 additions and 11 deletions
17
init.lua
17
init.lua
|
@ -88,16 +88,12 @@ vim.opt.directory = os.getenv("HOME") .. "/.var/nvim/swp//"
|
|||
-- and undo
|
||||
vim.opt.undofile = true
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.nvim/undodir"
|
||||
if not vim.fn.has('macunix') then
|
||||
-- make pastemode more accessible
|
||||
vim.opt.pastetoggle = "<F2>"
|
||||
end
|
||||
|
||||
-- save when moving away
|
||||
vim.api.nvim_create_autocmd("FocusLost", {pattern = "*", command = "wa"})
|
||||
|
||||
-- make sure to set TERM to xterm-256color in terminal program or app
|
||||
vim.cmd("colorscheme desert")
|
||||
vim.cmd("colorscheme breezy")
|
||||
vim.opt.background = "dark"
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
|
@ -124,15 +120,14 @@ vim.g.guioptions = guiopts
|
|||
|
||||
vim.opt.mouse = "nv"
|
||||
|
||||
if vim.fn.has('macunix') then
|
||||
vim.opt.gfn = "FiraCode Nerd Font Mono:h16"
|
||||
else
|
||||
if vim.loop.os_uname().sysname == 'Linux' then
|
||||
vim.opt.gfn = "FiraCode Nerd Font Mono:h12"
|
||||
require('nvim-projectconfig').setup({autocmd=true})
|
||||
else
|
||||
vim.opt.gfn = "FiraCode Nerd Font Mono:h16"
|
||||
require('nvim-projectconfig').setup()
|
||||
end
|
||||
|
||||
if not vim.fn.has('macunix') then
|
||||
require('nvim-projectconfig').setup({autocmd=true})
|
||||
end
|
||||
require("trouble").setup {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
|
|
3
plug.lua
3
plug.lua
|
@ -11,6 +11,9 @@ vim.call('plug#begin')
|
|||
-- dynamic font resizing(using ctl and arrow keys
|
||||
Plug('tenxsoydev/size-matters.nvim')
|
||||
|
||||
-- custom colorscheme
|
||||
Plug('fneu/breezy')
|
||||
|
||||
|
||||
-- informational
|
||||
-- lightweight but sophisticated status line
|
||||
|
|
Loading…
Reference in a new issue