diff --git a/workspaces/base-devspace/workspace/workspace.yaml b/workspaces/base-devspace/workspace/workspace.yaml index 363f892..29a4aab 100644 --- a/workspaces/base-devspace/workspace/workspace.yaml +++ b/workspaces/base-devspace/workspace/workspace.yaml @@ -68,14 +68,14 @@ start: env_vars: - name: TERM value: xterm - cmd: ttyd -p 8024 /bin/zsh -c 'alnoda-wrk admin' + cmd: ttyd -p 8024 -P 15 /bin/zsh -c 'alnoda-wrk admin' - name: MC env_vars: - name: TERM value: xterm - name: EDITOR value: mcedit - cmd: ttyd -p 8025 /bin/zsh -c '/usr/bin/mc' + cmd: ttyd -p 8025 -P 15 /bin/zsh -c '/usr/bin/mc' - name: Htop env_vars: - name: TERM diff --git a/workspaces/neovim-workspace/Dockerfile b/workspaces/neovim-workspace/Dockerfile index c54b3cd..956b669 100644 --- a/workspaces/neovim-workspace/Dockerfile +++ b/workspaces/neovim-workspace/Dockerfile @@ -11,6 +11,7 @@ RUN echo "------------------------------------------------------ nvim" \ COPY --chown=abc:abc init.vim /home/abc/.config/nvim/init.vim ENV PATH="$PATH:/home/abc/apps/nvim/bin" +ENV EDITOR="cd /home/abc/apps/nvim-nodeenv && . env/bin/activate && nvim" RUN echo "------------------------------------------------------ create node environment" \ && mkdir /home/abc/apps/nvim-nodeenv \ @@ -27,8 +28,3 @@ RUN echo "------------------------------------------------------ build workspace && pipx install alnoda-wrk \ && alnoda-wrk build /tmp/workspace \ && rm -rf /tmp/workspace - - -# https://github.com/AstroNvim/AstroNvim -# https://www.lunarvim.org/docs/installation -# https://neovimcraft.com/ \ No newline at end of file diff --git a/workspaces/neovim-workspace/init.vim b/workspaces/neovim-workspace/init.vim index 9ce1edb..e67abda 100644 --- a/workspaces/neovim-workspace/init.vim +++ b/workspaces/neovim-workspace/init.vim @@ -45,6 +45,8 @@ Plug 'ntk148v/auto-pairs' " Multiple cursors plugin for vim/neovim Plug 'mg979/vim-visual-multi', {'branch': 'master'} +" Plug 'ap/vim-buftabline' "show buffers + " List ends here. Plugins become visible to Vim after this call. call plug#end() diff --git a/workspaces/neovim-workspace/workspace/vim-circle-white.svg b/workspaces/neovim-workspace/workspace/vim-circle-white.svg new file mode 100644 index 0000000..ea3c5c9 --- /dev/null +++ b/workspaces/neovim-workspace/workspace/vim-circle-white.svg @@ -0,0 +1,10 @@ + + + + + + Go icon + + + + \ No newline at end of file diff --git a/workspaces/neovim-workspace/workspace/vim-circle.svg b/workspaces/neovim-workspace/workspace/vim-circle.svg new file mode 100644 index 0000000..0c44a9f --- /dev/null +++ b/workspaces/neovim-workspace/workspace/vim-circle.svg @@ -0,0 +1,10 @@ + + + + + + Go icon + + + + \ No newline at end of file diff --git a/workspaces/neovim-workspace/workspace/workspace.yaml b/workspaces/neovim-workspace/workspace/workspace.yaml index 47c242d..8fa2e26 100644 --- a/workspaces/neovim-workspace/workspace/workspace.yaml +++ b/workspaces/neovim-workspace/workspace/workspace.yaml @@ -9,39 +9,35 @@ description: | Workspace with hyperextensible Vim-based text editor styles: - colors: - light: - code_text: "#282A36" - code_background: "#252525" - dark: - code_text: "#EAB676" - code_background: "#3C3C3C" - -styles: - font: Roboto # chose any from https://fonts.google.com/ + font: Roboto colors: light: primary: "#282A36" accent: "#FF79C6" background: "#F5F7F7" + code_text: "#EAB676" + code_background: "#252525" + code_text: "#282A36" + code_background: "#eab676" dark: primary: "#424450" accent: "#45C368" background: "#282A36" title: "#F1FA8C" text: "#D368A8" + code_text: "#282A36" + code_background: "#eab676" common_colors: header: "#FFFFFF" nav: "#eab676" - pages: home: - - name: Editor + - name: IDE port: 8021 path: / - title: Code editor - description: "Vim-based code editor - Neovim" + title: IDE + description: "Browser-based Neovim IDE" image: neovim.jpg - name: M.Commander port: 8025 @@ -52,7 +48,7 @@ pages: start: - name: Neovim folder: /home/ - cmd: ttyd -p 8021 /bin/zsh -c 'cd /home/abc/apps/nvim-nodeenv && . env/bin/activate && cd /home && nvim' + cmd: ttyd -p 8021 -P 15 /bin/zsh -c 'cd /home/abc/apps/nvim-nodeenv && . env/bin/activate && cd /home && nvim' cheatsheet: @@ -77,6 +73,12 @@ cheatsheet: description: undo all changes done in 2 last insert modes - cmd: Ctrl + r description: redo (undone changes) + - cmd: / + description: search in file + - cmd: n + description: find next (when searching) + - cmd: N + description: find previous (when searching) - cmd: :w description: save file changes - cmd: :wq @@ -86,7 +88,7 @@ cheatsheet: - cmd: :q! description: trash all changes - cmd: m - description: create/delete files and folders (if focused on file tree) + description: create/delete/copy/move files and folders (if focused on file tree) - cmd: u description: set filetree to one level above (if focused on file tree) - cmd: t diff --git a/workspaces/spacevim-workspace/Dockerfile b/workspaces/spacevim-workspace/Dockerfile index d0343b6..784e980 100644 --- a/workspaces/spacevim-workspace/Dockerfile +++ b/workspaces/spacevim-workspace/Dockerfile @@ -4,7 +4,6 @@ RUN echo "------------------------------------------------------ nvim" \ && cd /tmp && wget https://github.com/neovim/neovim/releases/download/v0.8.0/nvim-linux64.tar.gz \ && tar -xzf nvim-linux64.tar.gz \ && mv /tmp/nvim-linux64 /home/abc/apps/nvim \ - && python -m pip install pynvim \ && echo "------------------------------------------------------ spacevim" \ && curl -sLf https://spacevim.org/install.sh | bash \ && pip install --user pynvim \ diff --git a/workspaces/spacevim-workspace/init.toml b/workspaces/spacevim-workspace/init.toml index f7c6ec7..49490a4 100644 --- a/workspaces/spacevim-workspace/init.toml +++ b/workspaces/spacevim-workspace/init.toml @@ -13,7 +13,7 @@ statusline_iseparator = "arrow" buffer_index_type = 4 enable_tabline_filetype_icon = false - enable_statusline_mode = false + enable_statusline_mode = true filetree_direction = "left" guifont = "" relativenumber = false diff --git a/workspaces/spacevim-workspace/workspace/mc.jpg b/workspaces/spacevim-workspace/workspace/mc.jpg new file mode 100644 index 0000000..9b0a92a Binary files /dev/null and b/workspaces/spacevim-workspace/workspace/mc.jpg differ diff --git a/workspaces/spacevim-workspace/workspace/vim-circle-white.svg b/workspaces/spacevim-workspace/workspace/vim-circle-white.svg new file mode 100644 index 0000000..ea3c5c9 --- /dev/null +++ b/workspaces/spacevim-workspace/workspace/vim-circle-white.svg @@ -0,0 +1,10 @@ + + + + + + Go icon + + + + \ No newline at end of file diff --git a/workspaces/spacevim-workspace/workspace/vim-circle.svg b/workspaces/spacevim-workspace/workspace/vim-circle.svg new file mode 100644 index 0000000..0c44a9f --- /dev/null +++ b/workspaces/spacevim-workspace/workspace/vim-circle.svg @@ -0,0 +1,10 @@ + + + + + + Go icon + + + + \ No newline at end of file diff --git a/workspaces/spacevim-workspace/workspace/workspace.yaml b/workspaces/spacevim-workspace/workspace/workspace.yaml index 6acd1c6..edecf92 100644 --- a/workspaces/spacevim-workspace/workspace/workspace.yaml +++ b/workspaces/spacevim-workspace/workspace/workspace.yaml @@ -8,14 +8,29 @@ repository: https://github.com/bluxmit/alnoda-workspaces/tree/main/workspaces/sp description: | Workspace with browser-based SpaceVim IDE +logo: vim-circle-white.svg +favicon: vim-circle.svg + styles: + font: Anonymous Pro colors: light: - code_text: "#EAB676" - code_background: "#252525" + primary: "#282828" + accent: "#729665" + background: "#d6d3ce" + code_text: "#282828" + code_background: "#729665" dark: - code_text: "#EAB676" - code_background: "#3C3C3C" + primary: "#504945" + accent: "#B8BB26" + background: "#282828" + title: "#F1FA8C" + text: "#EBDBB2" + code_text: "#282828" + code_background: "#F97D18" + common_colors: + header: "#FFFFFF" + nav: "#F97D18" pages: home: @@ -25,11 +40,16 @@ pages: title: IDE description: "Browser-based full-featured SpaceVim IDE" image: spacevim.jpg + - name: M.Commander + port: 8025 + title: M.Commander + description: Feature rich visual file manager with internal text viewer and editor + image: mc.jpg start: - name: SpaceVim folder: /home/ - cmd: ttyd -p 8021 /bin/zsh -c 'nvim' + cmd: ttyd -p 8021 -P 15 /bin/zsh -c 'nvim' cheatsheet: @@ -52,26 +72,38 @@ cheatsheet: description: redo (undone changes) - cmd: Space description: menu to manage files, windows, togglers, options and more + - cmd: Space + b + d + description: close current tab - cmd: s description: manage tabs, screens - cmd: g description: editor and navigation menu - cmd: / description: search in file + - cmd: n + description: find next (when searching) + - cmd: N + description: find previous (when searching) - cmd: :w description: save file changes - cmd: :wq description: save and exit - cmd: :q! description: trash all changes + - cmd: r + description: refresh file tree folders (if focused on file tree folder) - cmd: . description: show hidden files (if focused on file tree) - cmd: N description: create new folder or file (if focused on file tree) - - cmd: r - description: rename folder or file (if focused on file tree) + - cmd: m + description: manage (rename, delete, copy, move) folder or file (if focused on file tree) - cmd: d description: delete folder or file (if focused on file tree) + - cmd: i + description: open the selected file in a horizontal split window (if focused on file tree) + - cmd: s + description: open the selected file in a vertical split window (if focused on file tree) links: Developer help: