summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-07 18:34:50 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-07 18:34:50 +0200
commitbb4609eb9bbc3b66769c5b80c1d887b04b98656b (patch)
tree5ceebd0ac37002d97837bb47d757d3c7c69eb853
parentcae577e428d68cd3547a3ee52462a8b822358d40 (diff)
vim config polish
-rw-r--r--.config/nvim/init.vim18
-rw-r--r--.config/nvim/lua/plugins.lua2
-rw-r--r--.config/nvim/lua/setup.lua6
-rw-r--r--.config/nvim/lua/stl.lua4
4 files changed, 27 insertions, 3 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 7764174..04f7030 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -25,3 +25,21 @@ require 'colorizer'.setup {
html = { names = false; }
}
EOF
+
+let g:ascii = [
+ \ '',
+ \ '',
+ \ ' @@@@@@ @@@@@@@ @@@@@@ @@@@@@@@@@ @@@@@@ @@@ @@@ @@@ ',
+ \ ' @@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@@@@ @@@@@@@ @@@ @@@ @@@ ',
+ \ ' @@! @@@ @@! @@@ @@! @@@ @@! @@! @@! !@@ @@! !@@ @@! ',
+ \ ' !@! @!@ !@! @!@ !@! @!@ !@! !@! !@! !@! !@! @!! !@! ',
+ \ ' @!@!@!@! @!@ !@! @!@!@!@! @!! !!@ @!@ !!@@!! @!@@!@! !!@ ',
+ \ ' !!!@!!!! !@! !!! !!!@!!!! !@! ! !@! !!@!!! !!@!!! !!! ',
+ \ ' !!: !!! !!: !!! !!: !!! !!: !!: !:! !!: :!! !!: ',
+ \ ' :!: !:! :!: !:! :!: !:! :!: :!: !:! :!: !:! :!: ',
+ \ ' :: ::: :::: :: :: ::: ::: :: :::: :: :: ::: :: ',
+ \ ' : : : :: : : : : : : : :: : : : ::: : ',
+ \ '',
+ \ '',
+ \]
+let g:startify_custom_header = startify#pad(g:ascii)
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 53ce20c..ebcee68 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -2,6 +2,7 @@ local use = require('packer').use
require('packer').startup(function()
use 'wbthomason/packer.nvim'
use 'gruvbox-community/gruvbox'
+ use 'tomasiser/vim-code-dark'
use 'tpope/vim-fugitive'
use 'tpope/vim-surround'
use 'ThePrimeagen/vim-be-good'
@@ -15,6 +16,7 @@ require('packer').startup(function()
use 'kyazdani42/nvim-web-devicons'
use 'norcalli/nvim-colorizer.lua'
use 'b3nj5m1n/kommentary'
+ use 'mhinz/vim-startify'
use {
'nvim-telescope/telescope.nvim',
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua
index 1bc2686..9c4d737 100644
--- a/.config/nvim/lua/setup.lua
+++ b/.config/nvim/lua/setup.lua
@@ -3,6 +3,8 @@ local set = vim.opt
set.termguicolors = true
set.hidden = true
set.wildmenu = true
+set.wildignorecase = true
+set.fileignorecase = true
set.showcmd = true
set.hlsearch = true
set.ignorecase = true
@@ -11,6 +13,7 @@ set.incsearch = true
set.backspace= 'indent,eol,start'
set.pastetoggle = '<F11>'
set.confirm = true
+set.number = true
set.relativenumber = true
set.shiftwidth = 4
set.softtabstop = 4
@@ -21,7 +24,8 @@ set.ruler = false
set.timeout = false
set.ttimeoutlen = 200
set.wrap = false
+set.fcs = 'eob: '
-vim.cmd('colorscheme gruvbox')
+vim.cmd('colorscheme codedark')
vim.cmd('highlight CursorLineNr cterm=bold ctermfg=Yellow ctermbg=none')
vim.cmd('highlight Normal ctermbg=none')
diff --git a/.config/nvim/lua/stl.lua b/.config/nvim/lua/stl.lua
index 1f5f47f..612fdeb 100644
--- a/.config/nvim/lua/stl.lua
+++ b/.config/nvim/lua/stl.lua
@@ -1,10 +1,10 @@
require'lualine'.setup {
options = {
icons_enabled = true,
- theme = 'gruvbox',
+ theme = 'codedark',
component_separators = {'', ''},
section_separators = {'', ''},
- disabled_filetypes = {}
+ disabled_filetypes = {'startify', 'NvimTree'}
},
sections = {
lualine_a = {'mode'},