Skip to content

Commit

Permalink
updated omp theme, updated vim config
Browse files Browse the repository at this point in the history
  • Loading branch information
co1e committed Jun 10, 2022
1 parent dc464a6 commit 67810d0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
37 changes: 28 additions & 9 deletions dracula_custom.omp.json → custom.omp.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
{
"background": "#6272a4",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "{{ .UserName }} ",
"style": "plain",
"template": " {{ .UserName }} ",
"type": "session"
},
{
Expand All @@ -19,22 +18,22 @@
"properties": {
"style": "full"
},
"style": "powerline",
"style": "plain",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "#ffb86c",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"powerline_symbol": "",
"properties": {
"branch_icon": "",
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
"template": " \uf09b ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
"type": "git"
},
{
Expand All @@ -52,11 +51,31 @@
"time_format": "15:04"
},
"style": "diamond",
"template": " \u266F {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0",
"template": " \uf608 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "",
"type": "time"
}
],
"type": "prompt",
"newline": true
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#cd5e42",
"style": "plain",
"template": "\ue3bf ",
"type": "root"
},
{
"foreground": "#ff79c6",
"style": "plain",
"template": "#",
"type": "text"
}
],
"type": "prompt"
}
],
Expand Down
8 changes: 6 additions & 2 deletions init.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set path+=**
""" enable syntax highlighting and filetype highlighting
syntax on
filetype on
"filetype plugin on
""" begin 'normal' settings
set exrc
set relativenumber
Expand All @@ -25,20 +27,22 @@ set smartindent
set cmdheight=2
set colorcolumn=82
set updatetime=50

set wildmode=longest,list,full
set wildmenu
set shortmess+=c

""" load plugins (use :PlugInstall)
call plug#begin(stdpath('data') . '/plugged')
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-telescope/telescope.nvim'
Plug 'neovim/nvim-lspconfig'
Plug 'dracula/vim',{'as':'dracula'}
call plug#end()
""" end load plugins
""" leader directives
nnoremap <leader>dd :Lexplore %:p:h<CR>
nnoremap <leader>da :Lexplore<CR>
nnoremap <leader>pv :E<CR>
""" NetRW (explore) remapping
function! NetrwMapping()
nmap <buffer> H u
Expand Down

0 comments on commit 67810d0

Please sign in to comment.