Skip to content

Commit

Permalink
Fixed tiny colorscheme issue and improved terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Daimar Stein committed Oct 8, 2021
1 parent 5725736 commit c05a93b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set.termguicolors = true
vim.g.colors_name = 'onedark'

vim.cmd[[
autocmd ColorScheme * hi StatusLine guifg=none guibg=none | hi StatusLineNC guifg=none guibg=none | hi FoldColumn guifg='#ABB2BF' guibg=none | hi BufferVisibleSign ='#1f1f1f'
autocmd ColorScheme * hi StatusLine guifg=none guibg=none | hi StatusLineNC guifg=none guibg=none | hi FoldColumn guifg='#ABB2BF' guibg=none | hi BufferVisibleSign guibg='#1f1f1f'
]] -- Change these highlights if you change the colorscheme

-- Clipboard
Expand Down
2 changes: 1 addition & 1 deletion lua/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ map("", "<Down>", 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', expr_opts)
map("", "<Up>", 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', expr_opts)

-- Ctrl+t to open an integrated terminal in a split, like other IDEs
map('n', '<C-t>', ':split | resize 15 | set nonumber norelativenumber | terminal<CR>a', {silent = true})
map('n', '<C-t>', ':split | resize 15 | set nonumber norelativenumber | terminal<CR>:set nobuflisted<CR>a', {silent = true})
map('t', '<C-a>','<C-\\><C-n>', opts) -- Ctrl+a to exit terminal mode

-- Auto-formatting with Neoformat
Expand Down

0 comments on commit c05a93b

Please sign in to comment.