GVim HDL editor, need help... - Page 1
Forum section: electronics / general

author: BrianHG
author_rank: Super Contributor
timestamp: February 22, 2021, 11:51:48 pm
content: Is anyone using this editor?I'm wondering how to save my startup preferences.Like if I set the color scheme & font & some spelling options, once I have it setup the way I like, is there a way to save the layout environment so that every time I open a file, those colors and font will always be used.Right now, everything goes back to default and the help test on how to perform such a simple function is convoluted at best with descriptions of commands and settings, but nothing like:I have everything the way I like, can you please just keep using these settings every-time I start the editor...It's like having to change my Windows environment every-time I power up my PC.

author: BrianHG
author_rank: Super Contributor
timestamp: February 23, 2021, 09:31:06 pm
content: Forget it, I switched to Notepad++. After a few configs, it does exactly what I need except for spell check.

author: rstofer
author_rank: Super Contributor
timestamp: February 23, 2021, 09:47:21 pm
content: Notepad++ is a great editor and I have been using it for years.I also like VScode, in fact, I prefer it. It is particularly nice to have two open files, side by side, on a wide monitor. It also has installable features for syntax highlighting, snippet generation and all that stuff. Runs on Mac, Linux or Windows.One thing I don't like about VScode is the fact that it can't print anything. Nada... Zippo... How can a Windows application not print a text file?Nevertheless, it is my favorite editor.

author: Bassman59
author_rank: Super Contributor
timestamp: February 23, 2021, 10:13:33 pm
content: Quote from: rstofer on February 23, 2021, 09:47:21 pmAtom has the same problem.

author: BrianHG
author_rank: Super Contributor
timestamp: February 23, 2021, 11:07:25 pm
content: Quote from: rstofer on February 23, 2021, 09:47:21 pmYou mean like this:Or like this:You can tile edit multiple displays horizontally and vertically as well as detach a tab into a new window as well as have multiple tiles of files being edited in each window.Just left-click on the file name tab and drag it to where you like in window, or off the notepad++ window to open a new separate window. You can also set the notepad++ default to open multiple windows with each document you open.

author: rstofer
author_rank: Super Contributor
timestamp: February 23, 2021, 11:36:03 pm
content: Yup! Just like that! Notepad++ is a terrific editor. As I said, I have been using it for years.In terms of VScode, there's a little button in the upper right that looks like a two column book. Pressing it adds an additional session. Here I have 4 sessions. They are all the same document because this particular PC doesn't have any files of interest.Where it really comes in handy is when designing a component in some HDL and writing the testbench in the adjacent page.I don't use MacOS but I do have VScode running on several Win 10 boxes and a couple of Linux machines. It's nice to use a single interface. Now if it would just print...

author: rstofer
author_rank: Super Contributor
timestamp: February 23, 2021, 11:45:37 pm
content: And with some other magic, I can use the Ubuntu setup in Win 10 to mount the drive (see the ugly prompt) and execute the code into the VScode Terminal window. Like the attached...

author: BrianHG
author_rank: Super Contributor
timestamp: February 24, 2021, 12:12:20 am
content: Quote from: BrianHG on February 23, 2021, 09:31:06 pmYes, it has a spell check, it's a plugin called "DSpellCheck" available in the plugins. Just select, install, then once running, you need to select a dictionary under change current language.

author: techman-001
author_rank: Frequent Contributor
timestamp: February 24, 2021, 12:37:42 am
content: Quote from: BrianHG on February 22, 2021, 11:51:48 pmI've been using Gvim/Vim for the last 20 years.User configs are saved in .vimrc for Unix, in the home directory and/or a per directory basis if different configs are required.Example .vimrchttps://gist.github.com/simonista/8703722