From e9a7255004597fa008e58134e32eb9c0d7fefcac Mon Sep 17 00:00:00 2001 From: bluxmit Date: Tue, 1 Nov 2022 20:08:01 +0000 Subject: [PATCH] imp. neovim --- workspaces/neovim-workspace/init.vim | 20 ++++++++++++++++--- .../neovim-workspace/workspace/workspace.yaml | 16 +++++++++------ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/workspaces/neovim-workspace/init.vim b/workspaces/neovim-workspace/init.vim index e67abda..7847b01 100644 --- a/workspaces/neovim-workspace/init.vim +++ b/workspaces/neovim-workspace/init.vim @@ -16,6 +16,7 @@ syntax on " syntax highlighting set mouse=a " enable mouse click set clipboard=unnamedplus " using system clipboard filetype plugin on +set colorcolumn="" set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim " set spell " enable spell check (may need to download language package) @@ -44,10 +45,11 @@ Plug 'itchyny/lightline.vim' Plug 'ntk148v/auto-pairs' " Multiple cursors plugin for vim/neovim Plug 'mg979/vim-visual-multi', {'branch': 'master'} +" Tabs +Plug 'romgrk/barbar.nvim' -" Plug 'ap/vim-buftabline' "show buffers +"List ends here. Plugins become visible to Vim after this call. -" List ends here. Plugins become visible to Vim after this call. call plug#end() " Start NERDTree when Vim is started without file arguments. @@ -202,4 +204,16 @@ nnoremap j :CocNext " Do default action for previous item. nnoremap k :CocPrev " Resume latest coc list. -nnoremap p :CocListResume \ No newline at end of file +nnoremap p :CocListResume + +" In your init.lua or init.vim +set termguicolors +lua << EOF +require('bufferline').setup({ + icons = false, + icon_separator_active = '▎', + icon_separator_inactive = '▎', + icon_close_tab = 'x', + icon_close_tab_modified = '●', +}) +EOF \ No newline at end of file diff --git a/workspaces/neovim-workspace/workspace/workspace.yaml b/workspaces/neovim-workspace/workspace/workspace.yaml index 8fa2e26..e36c9a8 100644 --- a/workspaces/neovim-workspace/workspace/workspace.yaml +++ b/workspaces/neovim-workspace/workspace/workspace.yaml @@ -8,13 +8,17 @@ repository: https://github.com/bluxmit/alnoda-workspaces/tree/main/workspaces/ne description: | Workspace with hyperextensible Vim-based text editor +logo: vim-circle-white.svg +favicon: vim-circle.svg + styles: - font: Roboto + font: JetBrains Mono colors: light: primary: "#282A36" - accent: "#FF79C6" + accent: "#EB71B9" background: "#F5F7F7" + title: "#005F87" code_text: "#EAB676" code_background: "#252525" code_text: "#282A36" @@ -24,7 +28,7 @@ styles: accent: "#45C368" background: "#282A36" title: "#F1FA8C" - text: "#D368A8" + text: "#BD93F9" code_text: "#282A36" code_background: "#eab676" common_colors: @@ -104,7 +108,7 @@ cheatsheet: links: Developer help: - - url: "https://spacevim.org/" - name: "SpaceVim" - description: "SpaceVim community website" + - url: "https://neovim.io/" + name: "Neovim" + description: "hyperextensible Vim-based text editor" \ No newline at end of file