انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید




نویسنده موضوع: سوالاتی در مورد ویم  (دفعات بازدید: 3394 بار)

0 کاربر و 10 مهمان درحال مشاهده موضوع.

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #15 : 03 بهمن 1400، 02:06 ب‌ظ »
اگه حوصله ی کانفیگ کردن ویم رو نداری بهت این رو معرفی میکنم .
https://github.com/VSNeoVim/VSNeoVim
شما یک اسکریپت رو اجرا کنی بقیش رو خودش نصب میکنه
این کانفیگ ها کلا ازش چیزی دیگه ای ساخته ...
بیشتر از ویرچوالنو های پایتون پشتیبانی میکنه ...
کاملا با lua کانفیگ شده و امکاناتی که میتونی ببینی .

نصبش کردم ولی نئوویمم تغییری نکرده.
متمعنی ؟
توی نصب اروری نگرفتی ؟
این مسیر رو ببین :
.config/nvim
وبمستری به سبک سامیت

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #16 : 03 بهمن 1400، 02:29 ب‌ظ »
متوجه شدم مشکل کجاست.
شما این دستور رو بزنید :
sudo apt install lua5.4 luajit
« آخرین ویرایش: 03 بهمن 1400، 02:44 ب‌ظ توسط sameet »
وبمستری به سبک سامیت

آفلاین BiG

  • High Hero Member
  • *
  • ارسال: 1609
  • Windows 7 - Windows xp - Windows 11
پاسخ : سوالاتی در مورد ویم
« پاسخ #17 : 03 بهمن 1400، 02:58 ب‌ظ »
متوجه شدم مشکل کجاست.
شما این دستور رو بزنید :
sudo apt install lua5.4

  sudo pacman -S lua5.4
error: target not found: lua5.4

فایلی که گفتید و بقیه تنظیمات نئوویم رو پاک کردم و نئوویم رو از اول نصب کردم و دوباره اسکریپت رو اجرا کردم.
   ~  ./install.sh -i                                                              ✔  8s 
Would you like to install VSNeovim's neovim ?
[Y]es or [N]o : y
warning: neovim-0.6.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) neovim-0.6.0-1

Total Installed Size:  22.77 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                              [################################] 100%
(1/1) checking package integrity                            [################################] 100%
(1/1) loading package files                                 [################################] 100%
(1/1) checking for file conflicts                           [################################] 100%
(1/1) checking available disk space                         [################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling neovim                                   [################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
Would you like to install VSNeovim's lua and luajit ?
[Y]es or [N]o : y
warning: lua-5.4.3-1 is up to date -- reinstalling
warning: luajit-2.0.5-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) lua-5.4.3-1  luajit-2.0.5-3

Total Installed Size:  2.21 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                              [################################] 100%
(2/2) checking package integrity                            [################################] 100%
(2/2) loading package files                                 [################################] 100%
(2/2) checking for file conflicts                           [################################] 100%
(2/2) checking available disk space                         [################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/2) reinstalling lua                                      [################################] 100%
(2/2) reinstalling luajit                                   [################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Would you like to install VSNeovim's python ?
[Y]es or [N]o : y
/usr/bin/python3: No module named pip
Would you like to install VSNeovim's node ?
[Y]es or [N]o : y
warning: nodejs-17.3.0-1 is up to date -- reinstalling
warning: npm-8.3.0-1 is up to date -- reinstalling
warning: yarn-1.22.17-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (3) nodejs-17.3.0-1  npm-8.3.0-1  yarn-1.22.17-1

Total Installed Size:  41.95 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring                              [################################] 100%
(3/3) checking package integrity                            [################################] 100%
(3/3) loading package files                                 [################################] 100%
(3/3) checking for file conflicts                           [################################] 100%
(3/3) checking available disk space                         [################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/3) reinstalling nodejs                                   [################################] 100%
y(2/3) reinstalling npm                                      [################################] 100%
(3/3) reinstalling yarn                                     [################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Would you like to install VSNeovim's utils (treesitter and lazygit) ?
[Y]es or [N]o : y
cloning VSNeoVim ...
mv: cannot stat '/home/mts/.config/nvim/': No such file or directory
mv: cannot stat '/home/mts/.local/share/nvim/': No such file or directory
Cloning into '/home/mts/.config/nvim'...
remote: Enumerating objects: 576, done.
remote: Counting objects: 100% (576/576), done.
remote: Compressing objects: 100% (329/329), done.
remote: Total 576 (delta 204), reused 521 (delta 160), pack-reused 0
Receiving objects: 100% (576/576), 4.92 MiB | 284.00 KiB/s, done.
Resolving deltas: 100% (204/204), done.
Usage: install.sh [<options>]

Options:
    -d, --dependencies                       dependencies
    -i, --install                            installing all dependencies
    -m, --miniinstall                        minimal installation dependencies

نئوویم رو اجرا می کنم این ارور رو میده:

Error detected while processing /home/mts/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ...g/nvim/lua/VisualStudioNeovim/Configs/Colorizer/init.lua:1: module 'colorizer' not found:
        no field package.preload['colorizer']
        no file './colorizer.lua'
        no file '/usr/share/luajit-2.0.5/colorizer.lua'
        no file '/usr/local/share/lua/5.1/colorizer.lua'
        no file '/usr/local/share/lua/5.1/colorizer/init.lua'
        no file '/usr/share/lua/5.1/colorizer.lua'
        no file '/usr/share/lua/5.1/colorizer/init.lua'
        no file './colorizer.so'
        no file '/usr/local/lib/lua/5.1/colorizer.so'
        no file '/usr/lib/lua/5.1/colorizer.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        ...g/nvim/lua/VisualStudioNeovim/Configs/Colorizer/init.lua:1: in main chunk
        [C]: in function 'require'
        /home/mts/.config/nvim/init.lua:37: in main chunk
Error detected while processing /home/mts/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua:
E5113: Error while calling lua chunk: ...ck/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua:1: module 'cmp' not found:
        no field package.preload['cmp']
        no file './cmp.lua'
        no file '/usr/share/luajit-2.0.5/cmp.lua'
        no file '/usr/local/share/lua/5.1/cmp.lua'
        no file '/usr/local/share/lua/5.1/cmp/init.lua'
        no file '/usr/share/lua/5.1/cmp.lua'
        no file '/usr/share/lua/5.1/cmp/init.lua'
        no file './cmp.so'
        no file '/usr/local/lib/lua/5.1/cmp.so'
        no file '/usr/lib/lua/5.1/cmp.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        ...ck/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua:1: in main chunk
خداحافظ لینوکس!

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #18 : 03 بهمن 1400، 03:00 ب‌ظ »
خب این که خوبه !
هنوز هیچ پلاگینی نصب نشده .
شما enter رو بزنید خودش منطقا باید پلاگین هارو نصب کنه
اگه فکر میکنید که خودش نمیتونه نصب کنه این دستور رو توی neovim بزنید
:PackerSync
« آخرین ویرایش: 03 بهمن 1400، 03:02 ب‌ظ توسط sameet »
وبمستری به سبک سامیت

آفلاین BiG

  • High Hero Member
  • *
  • ارسال: 1609
  • Windows 7 - Windows xp - Windows 11
پاسخ : سوالاتی در مورد ویم
« پاسخ #19 : 03 بهمن 1400، 03:28 ب‌ظ »
اکثرا نصب شد ولی بعضی پلاگین ها نصب نشد.
تازه موقع اجرا بازم ارور میده.
ارور های دیگه هم الان اضافه شده نمی تونم با نئوویم کار کنم ارور میده.
nvim-treesitter[vim]: Error during download, please verify your internet connection
Press ENTER or type command to continue
nvim-treesitter[yang]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[hocon]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[surface]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[dot]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[go]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[commonlisp]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[cuda]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[c_sharp]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[elixir]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[kotlin]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
[nvim-treesitter] [26/82, failed: 11] Creating temporary directory
Press ENTER or type command to continue
nvim-treesitter[ruby]: Error during download, please verify your internet connection
Press ENTER or type command to continue
Press ENTER or type command to continue
nvim-treesitter[scala]: Error during download, please verify your internet connection
Press ENTER or type command to continue

فکر کنم امیدی به این هم نیست.
خداحافظ لینوکس!

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #20 : 03 بهمن 1400، 03:39 ب‌ظ »
این ها پلاگین نیستن !!!
اینها سینتکس هستن .
نگران نباش مشکل از اینترنتت هست دوباره بازش کن بگذار کامل نصب بشن
وبمستری به سبک سامیت

آفلاین BiG

  • High Hero Member
  • *
  • ارسال: 1609
  • Windows 7 - Windows xp - Windows 11
پاسخ : سوالاتی در مورد ویم
« پاسخ #21 : 03 بهمن 1400، 03:53 ب‌ظ »
هرکاری می کنم این اروره نمیره نت دارم ولی ارور دانلود میده کلا.
دوباره PackerSync زدم بازم همونجوریه الان اکثرا ارور دادن دوباره.
خداحافظ لینوکس!

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #22 : 03 بهمن 1400، 04:00 ب‌ظ »
همونطور که گفتم اینها پلاگین نیستن ! پکیج هایی هستن که برای شناسایی سینتکس زبان برنامه نویسیتون نصب میشن .
اروری که شما میگیرید مربوط به اینترنتتون هستش !
وبمستری به سبک سامیت

آفلاین behzad121

  • High Sr. Member
  • *
  • ارسال: 510
  • جنسیت : پسر
  • آرچ + گنوم
پاسخ : سوالاتی در مورد ویم
« پاسخ #23 : 03 بهمن 1400، 05:30 ب‌ظ »
هرکاری می کنم این اروره نمیره نت دارم ولی ارور دانلود میده کلا.
دوباره PackerSync زدم بازم همونجوریه الان اکثرا ارور دادن دوباره.
قندشکن رو فعال کنید و دوباره امتحان کنید.
دیگه زیاد اینجا نیستم و بیشتر تو گروه‌های گنو/لینوکسی تلگرام کمک می‌کنم، دور از هیچ اذیت و حواشی. تلگرام: behdev@

آفلاین BiG

  • High Hero Member
  • *
  • ارسال: 1609
  • Windows 7 - Windows xp - Windows 11
پاسخ : سوالاتی در مورد ویم
« پاسخ #24 : 03 بهمن 1400، 05:42 ب‌ظ »
هرکاری می کنم این اروره نمیره نت دارم ولی ارور دانلود میده کلا.
دوباره PackerSync زدم بازم همونجوریه الان اکثرا ارور دادن دوباره.
قندشکن رو فعال کنید و دوباره امتحان کنید.

چه ***** شکنی؟ متاسفانه نه مورد خوب میشناسم نه بلدم نصب کنم.
خداحافظ لینوکس!

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #25 : 03 بهمن 1400، 05:42 ب‌ظ »
to
ولی اینترنتت ضعیفه چون این سرویس ها تحریم / فیلتر نیستن
وبمستری به سبک سامیت

آفلاین BiG

  • High Hero Member
  • *
  • ارسال: 1609
  • Windows 7 - Windows xp - Windows 11
پاسخ : سوالاتی در مورد ویم
« پاسخ #26 : 03 بهمن 1400، 05:55 ب‌ظ »
تور که معروفه. ولی بلد نیستم نصب کنم.
« آخرین ویرایش: 04 بهمن 1400، 12:19 ق‌ظ توسط Mt »
خداحافظ لینوکس!

آفلاین sameet

  • Hero Member
  • *
  • ارسال: 901
  • جنسیت : پسر
  • وبمستری به سبک سامیت
پاسخ : سوالاتی در مورد ویم
« پاسخ #27 : 03 بهمن 1400، 06:04 ب‌ظ »
وبمستری به سبک سامیت

آفلاین BiG

  • High Hero Member
  • *
  • ارسال: 1609
  • Windows 7 - Windows xp - Windows 11
پاسخ : سوالاتی در مورد ویم
« پاسخ #28 : 05 اسفند 1400، 02:07 ب‌ظ »
سلام. بخوام یک خط کد رو منتقل کنم به خط بالا یا پایین باید چه کار بکنم؟ تو اینترنت هم کلیدی گفت زدم فقط نشانگر اومد پایین نه اون کد.
یک سوال دیگه،‌ الان من نئوویم دارم فرقی با ویم داره بجز lua؟
چون مثلا 4dd رو زدم کار نکرد ولی dd زدم کار کرد.
خداحافظ لینوکس!

آفلاین Dragon-

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 5125
  • جنسیت : پسر
پاسخ : سوالاتی در مورد ویم
« پاسخ #29 : 05 اسفند 1400، 02:50 ب‌ظ »
نباید عملکرد neovim با vim فرق زیادی داشته باشه. dd یا مثلا 4dd برای من توی نئوویم درست کار می‌کنه.
میدونید که زکات علم نشر آن است