tmux
emacs-theme-gruvbox
tmux | emacs-theme-gruvbox | |
---|---|---|
212 | 33 | |
33,510 | 582 | |
1.5% | - | |
8.4 | 3.2 | |
14 days ago | about 1 month ago | |
C | Emacs Lisp | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tmux
-
Show HN: Shpool, a Lightweight Tmux Alternative
> tmux/screen do not break copy-paste
Tmux breaks interacting with the clipboard so much that it has its own dedicated Wiki page dealing with all of the different issues and settings: https://github.com/tmux/tmux/wiki/Clipboard
-
Ask HN: How to make `screen` behave like a native shell?
If so, tmux in control mode [1] plus iTerm2 could be what you're looking for. You would use the -CC flag when starting tmux either locally or on a remote host.
This brings all the niceties of an iTerm shell session, but still allow you to detach from tmux and reattach at a later point whilst still using the native iTerm features. Almost indefinite scrollback, as you mentioned. Also good terminal search facilities, and features to filter text in the session to display only lines that contain a keyword. Instant Replay lets you drag a slider and replay old TUI output that may have been erased from the screen [2]. And the configurable hotkeys are very convenient for pane splitting, which I find to be more convenient than the leader-plus-command of tmux. I find the toolbelt window useful, and sometimes define snippets of long cumbersome commands where it isn't possible or maybe appropriate to define aliases on a remote host. For local tmux sessions, I like some of the features of the iTerm shell extensions, like jumping back to the points of previous commands entered, which helps navigate through large amounts of console output. Or the directory name picker based on frecency, which is useful for adding directory names when composing long commands or to jump to a directory when using Zsh (which lets you omit the 'cd' command).
[1] https://github.com/tmux/tmux/wiki/Control-Mode
[2] https://iterm2.com/features.html
-
CLI Tools every Developer should know
You can follow this guide to install Tmux on your system: Tmux Installation Guide
-
What's New in Neovim 0.10
"Nvim 0.10 can now use the OSC 52 escape sequence to write to (or read from) the system clipboard."
This is a big deal! (it shouldn't be, but it is)
My main complaints about vim/emacs in the past was at the sheer complexity of getting something that should not even be a concern (clipboard integration) working properly, when other text/code editors did not have this problem at all.
Searching online, it seems like tmux has some nice documentation related to OSC 52 usage:
https://github.com/tmux/tmux/wiki/Clipboard
I will be playing around with this for a bit to understand it more. But honestly, this is the sort of thing that should "Just Work TM".
"VTE terminals (GNOME terminal, XFCE terminal, Terminator) do not support the OSC 52 escape sequence."
https://gitlab.gnome.org/GNOME/vte/-/issues/2495
That's a shame, but I'm not against using a different terminal emulator. Up until now I did not really have a good reason to.
- Chained ttys for side-by-side reading
-
Let's See Your Terminal
This got me thinking about my recent pivot, my switch to Neovim by way of LazyVim to write most of my code, and using tmux to keep terminal states alive after closing a session.
-
Just How Much Faster Are the Gnome 46 Terminals?
I use Tmux. It's a terminal-agnostic multiplexer. Gives you persistence and automation superpowers.
https://github.com/tmux/tmux/wiki
-
Easy Access to Terminal Commands in Neovim using FTerm
Having a common set of tools already set up in different windows or sessions in Tmux or Zellij is obviously an option, but there is a subset of us ( 👋 ) that would rather just have fingertip access to our common tools inside of our editor.
-
Using Shell Scripting to simplify your Shopify App development workflow 🐚
Once you have your Mac or Linux machine ready, make sure to downlaod and install TMUX (Terminal Mulitplexer). A lot of our scripts are going to be running headless inside of a TMUX session as it's an incredibly clean way to manage and organise different workspaces simultaneously. A lot of our scripts will help us to interact with TMUX so don't worry if it looks a little intimidating at first. You can install TMUX using your package manager in the terminal, use whichever applies to you:
-
Zellij – A terminal workspace with batteries included (tmux alternative)
After having spent too much time trying to get the simple https://github.com/csdvrx/sixel-tmux/ features into mainline tmux (last November https://github.com/tmux/tmux/issues/3753), maybe it'd be easier to jump ship as use zellij?
Could anyone offer recommendations on "riced" zellij configuations, or just a demo where it shows doing with (say charts of disk usage per folder), watching a movie with mpv + keeping a vim to type on?
emacs-theme-gruvbox
-
Switching to emacs, but the Gruvbox theme here looks different than in CLion or VIM
Recently I wanted to get back to Emacs, and as with any text editor I use, installed the Gruvbox theme.
-
Starfield Constellation Logo - Minimalist Gruvbox Edition [3840x2160] [OC]
Native 4K minimalist/modernist take on the Constellation logo from Bethesda's upcoming SciFi RPG, Starfield. Colors tweaked to use those from the gruvbox palette by morhetz. I wanted something like this for my own desktop, couldn't find it anywhere. So I made it myself and figured maybe someone else might like it.
-
Gruvbox PSP Theme [W.I.P]
Gruvbox its a retro groove Color scheme heavily inspired by badwolf, jellybeans and solarized. With this I want to give the community a customization theme a little different from what they are used to such as neon and those quirky themes that do not go with the retro theme of the PSP
-
Syntax highlighting for JavaScript that uses coc-tsserver? The picture shows how my JavaScript import statement looks like currently on top, and below is how it should be highlighted
https://github.com/morhetz/gruvbox and https://github.com/sheerun/vim-polyglot are Vim plugins that work in Neovim, but they don't allow you to use treesitter, so if you don't want to use treesitter use them.
-
Colored statusline doesn't load at start; I need to manually source $MYVIMRC
" This file contains common and basic plugins too essential not to include " See https://github.com/junegunn/vim-plug/wiki/tutorial " Auto install vim-plug (if not already installed) if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall endif " Run PlugInstall if there are missing plugins autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif " enable Vim-Plug: call plug#begin('~/.config/nvim/plugged') " Install/update plugins Plug 'https://github.com/tpope/vim-commentary.git' Plug 'https://github.com/morhetz/gruvbox' " Better C/C++ syntax highlighting; Plug 'https://github.com/jackguo380/vim-lsp-cxx-highlight' call plug#end() "---------- Basic configs ---------------------------------------------------- autocmd vimenter * ++nested colorscheme gruvbox " Enable transparent background let g:gruvbox_transparent_bg = 1
-
why is my grubox not working as it should? is it a font issue? any help is appreciated
VimScript version: github.com/morhetz/gruvbox and github.com/sheerun/vim-polyglot
-
What type of theme do you use?
I love the gruvbox dark theme.
-
Solarized
I loved solarized when it was new (to me). But after several years, I couldn't stand looking at those blue tones all day.
I switched (in vim) to gruvbox [0] (better maintained "community" edition [1]), which also has a dark and a light version, which is a lot warmer.
0: https://github.com/morhetz/gruvbox
-
My development environment is 100% text based - Fish Shell, Tmux, and Neovim - Here are my Dotfiles
call plug#begin() Plug 'morhetz/gruvbox' "https://github.com/morhetz/gruvbox Plug 'preservim/nerdtree' Plug 'nvim-lualine/lualine.nvim' " If you want to have icons in your statusline choose one of these Plug 'kyazdani42/nvim-web-devicons' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } " or , { 'branch': '0.1.x' } Plug 'nvim-treesitter/nvim-treesitter' Plug 'sharkdp/fd' Plug 'nvim-telescope/telescope-file-browser.nvim' Plug 'dinhhuy258/git.nvim' Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.*' } Plug 'lewis6991/gitsigns.nvim' Plug 'tomtom/tcomment_vim' Plug 'tpope/vim-rails' Plug 'tpope/vim-dispatch' Plug 'thoughtbot/vim-rspec' Plug 'tpope/vim-endwise' Plug 'vimwiki/vimwiki' Plug 'ervandew/supertab' Plug 'neovim/nvim-lspconfig' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-path' Plug 'hrsh7th/cmp-cmdline' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/vim-vsnip' " post install (yarn install | npm install) then load plugin only for editing supported files Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --production' } call plug#end() set ruler set number syntax enable set mouse=a set tabstop=2 set shiftwidth=2 set termguicolors set background=dark colorscheme gruvbox " Start NERDTree and put the cursor back in the other window. " autocmd VimEnter * NERDTree | wincmd p let mapleader = ',' " shortcuts for NERDTree nnoremap ntfo :NERDTreeFocus nnoremap nt :NERDTree nnoremap ntt :NERDTreeToggle nnoremap ntf :NERDTreeFind " All generic shortcuts nmap z :u nmap Q :qa! nmap q :bw nnoremap :m '<-2gv=gv nnoremap :m '>+1gv=gv " Find files using Telescope command-line sugar. nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags " setup all Lua based Neovim configs - e.g. lualine, git.nvim lua << EOF require('lualine').setup({ options = { icons_enabled = false, } }) require('git').setup() require('nvim-web-devicons').setup() vim.opt.termguicolors = true -- Setup Bufferline require('bufferline').setup{} -- Setup Gitsings - not using often require('gitsigns').setup() -- Setup nvim-cmp - autoxomplete local cmp = require'cmp' cmp.setup({ snippet = { -- REQUIRED - you must specify a snippet engine expand = function(args) vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users. -- require('luasnip').lsp_expand(args.body) -- For `luasnip` users. -- require('snippy').expand_snippet(args.body) -- For `snippy` users. -- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users. end, }, window = { -- completion = cmp.config.window.bordered(), -- documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, { name = 'vsnip' }, -- For vsnip users. -- { name = 'luasnip' }, -- For luasnip users. -- { name = 'ultisnips' }, -- For ultisnips users. -- { name = 'snippy' }, -- For snippy users. }, { { name = 'buffer' }, }) }) -- Setup Solargraph local nvim_lsp = require('lspconfig') local servers = {'solargraph'} for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { on_attach = on_attach, } end require'nvim-treesitter.configs'.setup { highlight = { enable = true }, } -- Setup Telescope with webicons local status, telescope = pcall(require, "telescope") if (not status) then return end local actions = require('telescope.actions') local builtin = require("telescope.builtin") local function telescope_buffer_dir() return vim.fn.expand('%:p:h') end local fb_actions = require "telescope".extensions.file_browser.actions telescope.setup { defaults = { mappings = { n = { ["q"] = actions.close }, }, }, extensions = { file_browser = { theme = "dropdown", -- disables netrw and use telescope-file-browser in its place hijack_netrw = true, mappings = { -- your custom insert mode mappings ["i"] = { [""] = function() vim.cmd('normal vbd') end, }, ["n"] = { -- your custom normal mode mappings ["N"] = fb_actions.create, ["h"] = fb_actions.goto_parent_dir, ["/"] = function() vim.cmd('startinsert') end }, }, }, }, } telescope.load_extension("file_browser") vim.keymap.set("n", "sf", function() telescope.extensions.file_browser.file_browser({ path = "%:p:h", cwd = telescope_buffer_dir(), respect_gitignore = false, hidden = true, grouped = true, previewer = false, initial_mode = "normal", layout_config = { height = 40 } }) end) -- keymaps vim.keymap.set('n', ';f', function() builtin.find_files({ no_ignore = false, hidden = true }) end) vim.keymap.set('n', ';r', function() builtin.live_grep() end) vim.keymap.set('n', '\\\\', function() builtin.buffers() end) vim.keymap.set('n', ';t', function() builtin.help_tags() end) vim.keymap.set('n', ';;', function() builtin.resume() end) vim.keymap.set('n', ';e', function() builtin.diagnostics() end) EOF
-
Using raster fonts in Neovide?
" NEOVIDE CONFIG let g:neovide_refresh_rate=60 let g:neovide_transparency=0.9 let g:neovide_remember_window_size=v:true let g:neovide_cursor_trail_length=1 let g:neovide_cursor_animation_length=0.05 " PLUGIN call plug#begin('~/.local/share/nvim/plugged') Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'https://github.com/base16-project/base16-vim' Plug 'https://github.com/lifepillar/vim-solarized8' Plug 'https://github.com/iCyMind/NeoSolarized' Plug 'https://github.com/flrnprz/plastic.vim' Plug 'https://github.com/morhetz/gruvbox' call plug#end() " GENERAL? cd $HOME/Documents set clipboard+=unnamed,unnamedplus set mouse=a set relativenumber filetype on filetype plugin on filetype indent on " GUI NATIVE colorscheme base16-atelier-seaside set background=dark set noshowmode set guifont=Cascadia\ Mono:h10 " AIRLINE "AirlineTheme base16_atelier_seaside let g:airline_theme='base16_atelier_seaside' let g:airline_solarized_bg='dark'
What are some alternatives?
zellij - A terminal workspace with batteries included
kanagawa.nvim - NeoVim dark colorscheme inspired by the colors of the famous painting by Katsushika Hokusai.
kitty - Cross-platform, fast, feature-rich, GPU based terminal
gruvbox-material - Gruvbox with Material Palette
tilix - A tiling terminal emulator for Linux using GTK+ 3
forest-night - 🌲 Comfortable & Pleasant Color Scheme for Vim
toggleterm.nvim - A neovim lua plugin to help easily manage multiple terminal windows
gruvbox - Retro groove color scheme for Vim
i3 - A tiling window manager for X11
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Mosh - Mobile Shell
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.