How to add left/right paddings to tabs and mode-line-identification? reddit / emacs ---------------------------------------------------------------------- josior · 2022-05-06 21:49 Is there a way to add left/right paddings to tab titles and mode-line- identification? I know I can redefine the functions and add spaces to the each side of the text, but I wonder if there's a better way. Any suggestions? Thanks! Image to help understanding: https://i.imgur.com/PkfasEZ.png - I added spaces around the title in the last tab (" Thanks "). ---------------------------------------------------------------------- Michaelmrose · 2022-05-06 22:51 You can wrap existing functions and do whatever manipulation you like. Here is power line tabs with icons and accent color that matches desktop wallpaper courtesy of pywal. https://i.imgur.com/fQXN7vG.png ---------------------------------------------------------------------- josior · 2022-05-07 19:32 That looks great! Can you tell me how to include the padding in the mode-line-buffer-id? I tried with the `(:box)` face attribute but it includes borders only on top and bottom. ---------------------------------------------------------------------- Michaelmrose · 2022-05-07 20:19 Check out https://gist.github.com/michaelmrose/cbd95f3f055b3040b8d47462bc767662 I believe I stole er borrowed some of it from somewhere or other